From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Help for newbie. Date: Mon, 04 Aug 1997 18:10:25 -0400 Organization: Cornell University http://www.cornell.edu Lines: 38 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33E65351.22F@cornell.edu> References: <5s4ru9$bge AT neon DOT btinternet DOT com> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0030.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Mark Ralph wrote: > > HI, > > I just downloaded djgpp to practise some c++ but I can't > get the simplest program to work. > > I must be doing some thing very stupid so please help me s hese are the > hardesr things to see > > the program is: > > /*---- File test.cpp ---*/ > #include > > int main( void ) > { > cout << "HELLO WORLD" ; > cout << endl; > > return 0; > } > /*---- EOF - test.cpp ---*/ > > When I complile it as gcc -o test test.cpp try gxx test.cpp -o test.exe. to find out what that does and the alternatives, read README.1ST. -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ *******************************************************************