Eclipse CDT: Problem in running simple C program
I just installed CDT tool for C programming under Eclipse, but when compiling the first simple program:
The console did not show the first printf, it waits for input from the user. like this:
printf("Enter your name\n");
printf("Your name is %s", name);
Enter your name
Your name is Mark
I compiled this code under cygwin with gcc compiler and it works fine. Can anybody tell me if this is becuase a wrong installation of the CDT tool?