www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/19/11:45:23

From: XXguille AT XXiies DOT XXes (Guillermo Rodriguez Garcia)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: STL
Date: Tue, 18 May 1999 23:08:59 GMT
Organization: Telefonica Transmision de Datos
Lines: 20
Message-ID: <37429912.9576636@noticias.iies.es>
References: <373B3FD7 DOT 7D692AD2 AT alphalink DOT com DOT au> <373E8A8C DOT 87D93E54 AT earthlink DOT net> <37412752 DOT 914433 AT noticias DOT iies DOT es> <7hpdo5$m6k$1 AT news DOT doit DOT wisc DOT edu>
NNTP-Posting-Host: iies224.iies.es
Mime-Version: 1.0
X-Newsreader: Forte Agent 1.5/32.451
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

El día 17 May 1999 15:48:21 GMT, khan AT xraylith DOT wisc DOT edu (Mumit Khan)
escribió:

>>Note that while this is true for C, it is not for C++; in which you
>>can perfectly define main() as returning void, according to the ISO
>>standard.
>>
>
>Wrong. Please check the standard (cf: 3.6.1) before making such 
>assertions.

Ops. Sorry, you are right.

void main() is incorrect, in both C and C++

Regards,
GUILLE
----
Guillermo Rodriguez Garcia
XXguille AT XXiies DOT XXes (ya sabes :-)

- Raw text -


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