www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/15/12:55:31

Message-ID: <19990515165400.48263.qmail@hotmail.com>
X-Originating-IP: [193.149.83.130]
From: "Hiroyuki Funakoshi" <hfunakoshi AT hotmail DOT com>
To: <djgpp AT delorie DOT com>
Subject: #include problem
Date: Sat, 15 May 1999 18:53:53 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Reply-To: djgpp AT delorie DOT com

In file.c, I have line at the top which says:
#include "file2.c"
where file2.c is a file which is in the directory which file.c is in (file.c
is the main file)
Then, I do this command:
gcc -o file.exe file.c
Gcc gives me an error:
gcc: file.c: 1: No such file or directory <ENOENT>

Please someone tell me why?

- Raw text -


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