Date: Sat, 24 Mar 2001 23:00:18 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Shaggythehaker AT aol DOT com Message-Id: <2110-Sat24Mar2001230018+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <8.12167f11.27ee5930@aol.com> (Shaggythehaker@aol.com) Subject: Re: I NEED HELP! References: <8 DOT 12167f11 DOT 27ee5930 AT aol DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Shaggythehaker AT aol DOT com > Date: Sat, 24 Mar 2001 15:10:24 EST > > When i want to compile a sample this is what i do: > I enter dos prompt then at the prompt i enter gcc samp.c -o samp.exe After > that I hit return and it tells me gcc.exe:samp.c:no such file or > directory(enoent) Open a DOS box, go to the directory where you saved the file samp.c, and type this from the command line: dir samp* Then tell if you see samp.c among the files printed by DIR. (I suspect that you edited the program with something like Notepad, which by default saves the file as "samp.c.txt".)