delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/24/13:21:34

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: trouble compiling c++
Date: Fri, 20 Jun 1997 21:20:16 -0400
Organization: Cornell University http://www.cornell.edu
Lines: 26
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <33AB2C50.CDA@cornell.edu>
References: <01bc7c34$774cd980$453f19ac AT elihu DOT sys DOT hou DOT compaq DOT com>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: cu-dialup-0017.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

John Syers wrote:
> 
> I just downloaded djgpp, with hopes of using it on my old 386/16.
> 

> /* blank line */
> #include <iostream.h>
> 
> void main(void)

int main(void) saves you a keystroke and has the added advantage of
being correct.

in any case, instead of going through all this trouble, you should have
read README.1ST on compiling c++ programs.
-- 
   Sinan
 
*******************************************************************
 A. Sinan Unur                                WWWWWW
                                              |--O+O
 mailto:sinan DOT unur AT cornell DOT edu                C   ^ 
 http://www.people.cornell.edu/pages/asu1/     \  ~/ 

Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************

- Raw text -


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