Mail Archives: djgpp/2000/01/29/18:34:45
Typing full path names for all your source files can get tiresome. On your
computer is a file names c:\autoexec.bat. You can open this with a text
editor like notepad, don't use word. In this file there may be a line
path=c:\windows;c:\;maybe some other stuff here
What you want to do is add ;c:\djgpp\bin to that line, (assumming djgpp
is in c:\djgpp, if not use the full path to the directory where you
installed djgpp). Remember that all the paths in this line need to be
separated by a semi-colon like this:
path=c:\windows;c:\djgpp\bin;c:\
What this does is tell DOS or windows to look in these directories for
programs. This way you can work in the same directory as your source code
and jsut type gxx -ofilename.exe filename.cpp. Then windows will look for a
program called gxx in the directories in the path line of your autoexec.bat
file, which it will find since you put c:\djgpp\bin in there. This prevents
a whole lot of typing and generally makes your life easier.
----- Original Message -----
----- Original Message -----
From: MEESES 69 <meeses69 AT aol DOT com>
Newsgroups: comp.os.msdos.djgpp
Sent: Thursday, January 27, 2000 10:28 PM
Subject: New to DJGPP and programming,please help?
> I've recently bought a book called SAMS Teach Yourself C++.
> It says it includes CD-ROM with DJGPP Compiler.
> i selected almost all the options when installing but it didnt put a
link to
> it in my program files in WIN 98 and when I go to the DJGPP directory most
of
> the files are unasociated and I cant open them. How do I get I started?
> I'm looking for a program like word 97 that opens up, is that how this
> works?
> I'm totally lost and would appreciate an E-mail with help. Maybe just a
few
> starting poiinters or hints would help.
> I know I should probably read the other SAMS learn programing first but I
want
> to play a little now.
- Raw text -