From: "Gavin Carter" To: Subject: Just Starting and Need A Little Help To Get My Feet off The Ground Date: Tue, 13 Jan 1998 08:28:59 -0000 Message-ID: <01bd1ffd$4bf61f90$01c3a5c2@gavin.GavNet.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0036_01BD1FFD.4BF61F90" Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_0036_01BD1FFD.4BF61F90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I've just started programming in C++, I already program in Pascal using = Delphi, but I've decided it's time to try out different languages. I = currently use Microsoft Visual C++ 5.0 to compile my C++ source code, = but I want to try the DJGPP compiler. I've just downloaded all the files = I need and have set it all up on my machine. I seem to be able to = develop C code fine, but I'm having problems with C++ code.=20 Can anyone tell me what I need to type in at the command prompt to get a = valid executable file from the below C++ source code saved in a file = call 'g.cpp' =20 // g.cpp // A Simple Example of a Program #include =20 int main() { cout << "Hello, World \n"; return 0; }=20 =20 Just a very very simple bit of code, but I need to know how to compile = it. =20 =20 Thanks For All Your Help=20 =20 Yours=20 Gavin Carter =20 ------=_NextPart_000_0036_01BD1FFD.4BF61F90 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I've just started = programming in C++,=20 I already program in Pascal using Delphi, but I've decided it's time to = try out=20 different languages. I currently use Microsoft Visual C++ 5.0 to compile = my C++=20 source code, but I want to try the DJGPP compiler. I've just downloaded = all the=20 files I need and have set it all up on my machine. I seem to be able to = develop=20 C code fine, but I'm having problems with C++ code.
Can anyone tell me what = I need to=20 type in at the command prompt to get a valid executable file from the = below C++=20 source code saved in a file call 'g.cpp'
 
// g.cpp
// A = Simple Example=20 of a Program
#include <iostream.h>
 
int=20 main()
{
cout << "Hello, World \n";
return=20 0;
}
 
 
Just a very very = simple bit of=20 code, but I need to know how to compile it.  
 
Thanks For All = Your=20 Help 
 
Yours 
Gavin=20 Carter
 
------=_NextPart_000_0036_01BD1FFD.4BF61F90--