Hi there,
I have used eclipse to program in java, however I have recently installed
the eclipse cdt in order to program in c. When I install all the components
I think I need that is
windows vista x64 ultimate
eclipse-SDK-3.5.1-win32
mingw-w32-bin_i686-mingw_20100123_sezero
MSYS-1.0.11
I make a simple hello world program in which I use a simple printf and the
program compiles no problem. However if I add a scanf then I get a weird
output and I think that it has to do with something malfunctioning in
eclipse.
# include <stdio.h>
# include <stdlib.h>
int main (void){
char name [10];
printf("enter name: ");
scanf("%s", name);
printf("the name is %s",name);
return 0;
}
when trying to build this I get the following message:
**** Build of configuration Debug for project print ****
**** Internal Builder is used for build ****
Nothing to build for print
In addition to this the result of the above in the eclipse console is as
follows...:
Enter your name: the name is
...which is totally wrong!
Is there anyone who can help me set it up correctly???
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public