Questions tagged as 'c'

1
answer

Error installing C in Eclipse

I am downloading C for eclipse (cygwin) and I have done everything that comes in this video to import everything necessary ( link ) and when doing the make, (control + B) I skipped this error in the console. Can someone help me? 20:42:54 ****...
asked by 26.10.2017 / 20:48
1
answer

help codification zenith polar in c

I made a program in codeblocks which should code in polar zenith and although it identifies the characters and exchanges it generates a problem with the characters that are not exchanged transforming them into completely different characters...
asked by 02.11.2017 / 02:10
1
answer

start program written in c when booting linux system

Hello this time I created a small program written in c that I intend to run in a raspberry the same one already works correctly, but now I need to run it when I start the system (and it works without logging in), the idea would be that when star...
asked by 11.10.2017 / 12:55
1
answer

How do I get back to the main menu in this program?

Good day, I'm doing a program where I print a type of sales invoice from a warehouse, I have everything done but I would like to know how to go back to the main menu to do the whole process again without closing and opening the program ... Here...
asked by 10.10.2017 / 05:55
1
answer

switch inside another switch

My problem is this: I want to make a submenu within the menu in my program (I had not done it before). I can not find my mistake I would appreciate it to anyone who can notice it. I send them the main of the program. Thank you very much. #incl...
asked by 12.09.2017 / 00:43
1
answer

Handling files in c prints garbage in reading and later writing

Hello, I have this code where it reads a string from a file that contains names in the following way Robert Fair Amanda Insley Daniel Berryhill This code compiles sometimes and others do not, even when compiling and executing it, in the fil...
asked by 01.09.2017 / 00:41
1
answer

Dynamic array in C

I have this little code of a dynamic array exercise, it introduces me up to 6 elements and it displays them correctly, but if I put it from 8, it jumps an error "the program stopped working" Code: int main() { int cantidad; int *x;...
asked by 03.09.2017 / 19:17
1
answer

Why does not the result of an arrangement print me?

I understand that up to a certain point my code is fine but in a certain part of the syntax it does not do the job well #include <stdio.h> #include <conio.h> #include <iostream> #include <string> main() { int a,b,c; ch...
asked by 23.11.2017 / 08:08
1
answer

Arranged Two-dimensional Array

I have a code made in C in which you enter data in a two-dimensional array and sort the rows, I also want you to order the columns for example you enter: 9 8 7 6 5 4 3 2 1 and it looks like this: 7 8 9 4 5 6 1 2 3 that really is fine because...
asked by 17.08.2017 / 00:15
1
answer

Problem when viewing this linked list in C

I have this code where I add values to the nodes of my linked list but when I view that list it shows me 0. I call the function addNodos () and enter the values that I want but I do not see the data correctly. Code: int main() { printf("...
asked by 13.08.2017 / 15:51