www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/16/19:07:30

Message-Id: <3.0.6.32.19981116160436.007a2540@tenforward.com>
X-Sender: sw AT tenforward DOT com
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32)
Date: Mon, 16 Nov 1998 16:04:36 -0800
To: djgpp AT delorie DOT com
From: Jeff Johnson <sw AT tenforward DOT com>
Subject: Re: Problems from the Start
In-Reply-To: <3.0.1.32.19981116173519.007a79b0@mindspring.com>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019