delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/02/19:56:52

From: "David C. Hoos, Sr." <david DOT c DOT hoos DOT sr AT ada95 DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Newbie ready to compile having trouble with [ENOENT] error
Date: Sun, 2 Jan 2000 18:23:34 -0600
References: <84oll7$h5v$1 AT sword DOT avalon DOT net>
X-Posted-Path-Was: not-for-mail
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-ELN-Date: 3 Jan 2000 00:22:53 GMT
X-ELN-Insert-Date: Sun Jan 2 16:25:03 2000
Organization: Ada95 Press, Inc.
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
Lines: 22
Mime-Version: 1.0
NNTP-Posting-Host: sdn-ar-001alhuntp008.dialsprint.net
Message-ID: <84oq4t$cjh$1@ash.prod.itd.earthlink.net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Dan Myers <danmyers AT avalon DOT net> wrote in message
news:84oll7$h5v$1 AT sword DOT avalon DOT net...
<large snip>
> #include < stdio.h>
>
>   int main ( ) {
>     printf("Hello World");
>     return 0;
>   }
> _________________
The problem is simply that the file you named in your
#include directory does not exist.  There is no file
with the name " stdio.h" -- i.e, with a leading space!

Changew the line to
#include <stdio.h>

and all will be well.

<large snip>


- Raw text -


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