Mail Archives: djgpp/1998/11/16/19:07:30
At 05:35 PM 11/16/98 -0500, you wrote:
>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.
>
2 Things That Could Be Wrong Here,
-You Need To Save It As "greet.cc"
-When Compiling, You Specify It As Just "greet" Without The .cc
extension.
If That Doesn't Do It, Then I Dont Know To Tell Ya.
- Raw text -