delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/06/12:34:16

From: knoriko A <knoriko_a AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Please Help! (DJGPP set-up and RHIDE)
Date: Mon, 06 Dec 1999 23:17:30 +0900
Organization: odn.ne.jp
Lines: 38
Message-ID: <384BC579.A9D8FA05@hotmail.com>
References: <384A2EEB DOT 21B075E1 AT hotmail DOT com> <OHv24.2381$323 DOT 55226 AT dfiatx1-snr1 DOT gtei DOT net> <384B19BF DOT 12B68D1 AT hotmail DOT com>
NNTP-Posting-Host: jyocc-04p78.ppp.odn.ad.jp
Mime-Version: 1.0
X-Trace: newsgw8.odn.ne.jp 944490831 9295 210.231.75.170 (6 Dec 1999 14:33:51 GMT)
X-Complaints-To: news AT odn DOT ad DOT jp
NNTP-Posting-Date: 6 Dec 1999 14:33:51 GMT
X-Mailer: Mozilla 4.6 [ja] (Win98; I)
X-Accept-Language: en,pdf
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello again.

I learned about DOS Edit FINALLY, and could read readme.1st.  Thank you.
  I gave up on RHIDE and used Edit to type "hello world."  I did exactly
as directed in "Your First Program" guide, however, it didn't work and
printed a line like this:

hello.c:l: '#include' expects "FILENAME" or <FILENAME>

So I tried :

#include <hello.c>

then gcc printed:

hello.c:1: hello.c: No such file or directory (ENOENT)

I'd really appreciate it if anyone could see the source below and let me
know of any mistake.

***********************************

#include

int main(void)
{
  printf("Hello, world!\n");
  return 0;
}

***********************************

Regards,
knoriko




- Raw text -


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