Hi all,
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:Code:#include<stdio.h> int main(){ char name[30]; printf("Enter your name\n"); scanf("%s", &name); printf("Your name is %s", name); return 0; }
console:
Mark
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?