delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/08/21:23:16

From: cryptozip AT aol DOT com (CryptoZip)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: compiler can't find "stdio.h" "no such file or directory"
Lines: 23
NNTP-Posting-Host: ladder01.news.aol.com
X-Admin: news AT aol DOT com
Date: 8 Feb 1999 22:12:38 GMT
Organization: AOL http://www.aol.com
References: <36be9e84 DOT 2341239 AT news DOT wwa DOT com>
Message-ID: <19990208171238.15242.00000169@ng-fq1.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

:) I think I know what you are doing...
Check your code for the following

Are you writing it as
#include "stdio.h"   /*??*/

If so, change "stdio.h" to <stdio.h>

"stdio.h" means that the include is in the current directory that you are
compiling,
or in one of the directories you specify on the command like with the -I
option.

If this isn't the case, than you might not have DJGPP installed correctly.

If that isn't the case, then... I wouldn't know from the information you have
given.

My bet is that you wrote "stdio.h" instead of <stdio.h>... Such small things
can sometimes escape our notice, but with consistent practice we can learn to
master them ;)

Good luck with your coding!!

- Raw text -


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