Mail Archives: djgpp/1999/10/03/08:30:22
In article <7t6p6o$48v$1 AT solomon DOT cs DOT rose-hulman DOT edu>, "Damian Yerrick" <reply DOT at DOT your DOT own DOT risk AT pineight DOT 8m DOT com> wrote:
>
><OGOAMAM AT aol DOT com> wrote in message news:6caed11b DOT 25264274 AT aol DOT com...
>> I have a source code that I have written with a note pad (on Windows 95)
>
>Notepad has an annoying habit of renaming your files.
>Use RHIDE, Robert Hoehne's integrated development
>environment for DJGPP. Get it where you got DJGPP.
>
>> and saved as myfile.cxx I tried to compile it but I get the following
>error:
>>
>> gxx.exe : myfile.cxx : No such file or directory (ENOENT)
>
>Did Notepad happen to rename your file myfile.cxx.txt?
>Oh, by the way, .cpp is the most common extension for
>C++ source files.
>
>> I am new to programming. Am I using the right text editor?
>
>RHIDE is better. It's an integrated development environment
>especially designed for DJGPP.
>
>> Should I save this file under any particular directory in DJGPP?
>
>No. However, before you run DJGPP, you should change the
>Current Folder to wherever the source file is located. In my
>case it's c:\personal\djgames\dosarena\foo.cpp, so I would type
>cd \personal\djgames\dosarena
>
>Parts of
>> My autoexec.bat file is set as indicated below:
>>8
>> PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;C:\DJGPP\BIN;%PATH%
>
>You really shoupd put DJGPP before Windows on your path.
>PATH C:\djgpp\bin;C:\Windows;C:\Windows\Command;C:\;%PATH%
>
Why? It shouldn't make a difference. Is this for speed? What about the speed
of windows?
>> SET TEMP=C:\PBTOOLS\WINTEMP
>
>It should be C:\Windows\TEMP so that the disk cleanup programs
>can pick it up.
>
>> SET WINPMT=[Sindows] $P$G
>
>Never seen winpmt before. Anyone know what it is?
>
I remember that one from the days of 3.1. Helps to keep a DOS prompt under
real DOS and in a DOS box apart. Under Win 3.1 this came handy as you often
started and then exited windows and you somtimes just didn't know when it was
ok to turn off your computer.
--
Manni
- Raw text -