| delorie.com/archives/browse.cgi | search |
| From: | "A. Sinan Unur" <asu1 AT cornell DOT edu> |
| 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 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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 <iostream.h>
>
> 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/ \ ~/
*******************************************************************
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |