niloufar
09-22-2002, 09:44 PM
Hello,
I just installed Mandrake 8.2 on my system. I wrote a simple program to see if gcc is working correctly. I don't get any error messages when I compile the program, but the printf command doesn't work (nothing is written to the screen).
The program is simply:
#include <stdio.h>
int main(){
printf("something...\n");
return 0;
}
I also added fflush(stdout); but it still doesn't work. I don't know if anyone else has had this problem? I would appreciate it if someone could advise me.
Best,
niloufar
I just installed Mandrake 8.2 on my system. I wrote a simple program to see if gcc is working correctly. I don't get any error messages when I compile the program, but the printf command doesn't work (nothing is written to the screen).
The program is simply:
#include <stdio.h>
int main(){
printf("something...\n");
return 0;
}
I also added fflush(stdout); but it still doesn't work. I don't know if anyone else has had this problem? I would appreciate it if someone could advise me.
Best,
niloufar