www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/25/21:45:45

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: QUESTION: General Syntax
Date: Tue, 25 Feb 1997 19:47:22 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 15
Message-ID: <3313B24A.2B82@cs.com>
References: <2 DOT 2 DOT 32 DOT 19970225154850 DOT 006a7df0 AT mailhost>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp206.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eyal Ben-David wrote:
> 
> > In C++, you _must_ explicitly define main()'s return type.
> 
> False. C++ is like C in this matter (i.e. default return type is int)

You're correct.  I was thinking about void main()...

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |        fighteer AT cs DOT com         |
| "Starting flamewars since 1993"  |   http://www.cs.com/fighteer   |
|  *** NOTICE ***  This .signature is generated randomly.           |
|                  If you don't like it, sue my computer.           |
---------------------------------------------------------------------

- Raw text -


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