delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/28/07:26:28

From: Rodeo Red <rodeored AT netstep DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: hello.cpp: No such file or directory
Date: Tue, 28 Sep 1999 06:56:44 -0400
Organization: Church of Evangelical Environmental Extremism
Lines: 31
Message-ID: <D9BC7976AAE40D84.C5602DF8447E0627.2CF1545D121CCB15@lp.airnews.net>
X-Orig-Message-ID: <37F09EEA DOT C89B5D07 AT netstep DOT net>
Abuse-Reports-To: support at netstep.net to report improper postings
NNTP-Proxy-Relay: library2.airnews.net
NNTP-Posting-Time: Tue Sep 28 05:41:06 1999
NNTP-Posting-Host: !Zg&@-@[.9]bPpI (Encoded at Airnews!)
Mime-Version: 1.0
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I've found the iostream.h I was missiong last night, (somehow half of a
zip file got unzipped. I found out which one by looking at the files in
the zip files in winzip, which I didn't know it could do. )   Now I've
got an entirely new error message and a few questions about the
following.

C:\WINDOWS\Desktop>gcc hello.cpp -o hello.exe -lm
gcc.exe: hello.cpp: No such file or directory (ENOENT)

The file does exist. However-

#1)Does it matter which prompt I'm using ?
C:\WINDOWS and C:\  seem to get the same results , but its a variable
that makes me wonder if it matters. Even if this is not my problem now,
I'd like to know if it could be in the future.

#2)Also does it matter which directory should I save hello.cpp to ?
I've put it in several different directories and none of them seem to
work.  How does the program know where ot look ?  If the same file is in
several different directories how does the program know which one to use
?  Again, even if this is not my problem now,  I'd like to know if it
could be in the future.

#3) Why else would I get this message ? I've tried different prompts and
saving the file to different directories so I don't think that's the
problem. So I'm stumpted as to why the file isn't being found.



Red

- Raw text -


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