From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP ME Date: 31 Aug 2001 11:01:40 GMT Organization: Aachen University of Technology (RWTH) Lines: 33 Message-ID: <9mnqqk$quc$1@nets3.rz.RWTH-Aachen.DE> References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 999255700 27596 137.226.32.75 (31 Aug 2001 11:01:40 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 31 Aug 2001 11:01:40 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com DAVID F FOX wrote: > Where does the compiler expect to find the C++ program I have > written? "Here", i.e. in the "current working directory" --- wherever that currently is. I.e. you're supposed to either pass the full pathname of your source file, or do as most users learn to do, sooner or later: 'cd' to the directory containing your sources. This makes "here" be where your sources are, and all should be well. So, in a nutshell: d: # only if you aren't on the right drive letter, yet cd \some\where\nice # wherever you keep your own sourcefiles gxx myfile.cpp > I entered the program using notepad because I can't figure out how > to access emacs. That may well have been another part of the problem. Notepad has a very nasty habit of attaching a .txt extension to the filename, even if you explicitly told it you want foo.cc or foo.cpp. Check the actual filename using "dir" in your source directory. And what exactly was your problem with "emacs"? Whatever it was --- instructions you couldn't understand, or some (to you) incomprehendable errormessages ---- show it here, otherwise we won't be able to assist. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.