| delorie.com/archives/browse.cgi | search |
| From: | "Limblet" <mrhardge AT home DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | include directive |
| Lines: | 31 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.00.2919.6600 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
| Message-ID: | <rAKn5.29283$7W2.474946@news1.wwck1.ri.home.com> |
| Date: | Sun, 20 Aug 2000 06:07:19 GMT |
| NNTP-Posting-Host: | 24.7.0.214 |
| X-Complaints-To: | abuse AT home DOT net |
| X-Trace: | news1.wwck1.ri.home.com 966751639 24.7.0.214 (Sat, 19 Aug 2000 23:07:19 PDT) |
| NNTP-Posting-Date: | Sat, 19 Aug 2000 23:07:19 PDT |
| Organization: | @Home Network |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Hi,
I am a first time djgpp user and I have written a sample program to test it
out. My program includes the stdio.h header file and when I compile it, I
get the following error message from the compiler:
myname.c:1: '#include' expects "FILENAME" or <FILENAME>
my source code is very simple:
_________________________
#include <stdio.h>
int main()
{
printf("Limblet");
return 0;
}
_________________________
I have a feeling that I have either misconfigured the djgpp or I am not
adding the correct arguments to link the stdio header.
Please Help,
Limblet
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |