delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/29/18:34:45

Message-ID: <018c01bf6aab$9c548580$0100000a@athlon>
From: "Jeremy Thomas" <yasper AT earthlink DOT net>
To: "MEESES 69" <meeses69 AT aol DOT com>
Cc: <djgpp AT delorie DOT com>
References: <20000128012847 DOT 02031 DOT 00000382 AT ng-fy1 DOT aol DOT com>
Subject: Re: New to DJGPP and programming,please help?
Date: Sat, 29 Jan 2000 14:53:06 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Reply-To: djgpp AT delorie DOT com

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 -


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