Mail Archives: djgpp/1998/11/16/17:37:47
I have recently downloaded DJGPP, I installed the basic stuff. Rhide and C
programming equipment. I just installed the basics to get started. I
attempted to make the basic Hello World program as follows:
#include <stdio.h>
main()
{
printf("Hello, world.\n");
}
then I saved it under greet.c and compiled it. In the window it told me
that it was a bad command and file name and there were no errors. Then when
I tried it in the dos prompt, it still said bad command and file name. I
have been using a book to learn C programming and I wrote the program in
exactly and it still didn't work. What is wrong, please help me. I am
getting very frustrated.
Sincerely,
Michael Levine
DaStuff AT mindspring DOT com
- Raw text -