From 9170793778000600060
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,314ebdf2ff957e27
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2003-04-24 11:43:53 PST
Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: rlankine@hotmail.com ("Risto Lankinen")
Newsgroups: comp.std.c++
Subject: Re: Why int main()?
Date: Thu, 24 Apr 2003 18:43:51 +0000 (UTC)
Organization: Nokia
Lines: 24
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <EJMpa.1107$g4.21491@news1.nokia.com>
References: <Qbvla.955$5Z2.28625@newsfep1-win.server.ntli.net> <RkkxdPDmqwl+Ewp6@robinton.demon.co.uk> <3E9821CE.8AC8B8C6@web.de> <d6651fb6.0304150039.67fdce42@posting.google.com> <7f2735a5.0304161119.2d516e7d@posting.google.com> <Lbina.6887$Y57.3348@fe05.atl2.webusenet.com> <d6651fb6.0304230831.57a6e4f6@posting.google.com> <3EA7067C.BD7A6968@unet.univie.ac.at>
X-Trace: mail2news.demon.co.uk 1051209832 8696 10.0.0.1 (24 Apr 2003 18:43:52 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Thu, 24 Apr 2003 18:43:52 +0000 (UTC)
X-Received: from mulga.cs.mu.oz.au ([128.250.1.22])
	by news.demon.co.uk with esmtp (Exim 4.12)
	id 198lhG-0002G7-00
	for mail2news@news.news.demon.net; Thu, 24 Apr 2003 18:43:51 +0000
X-Received: from localhost (localhost [[UNIX: localhost]]) by mulga.cs.mu.OZ.AU
	id EAA17713; Fri, 25 Apr 2003 04:43:46 +1000 (EST)
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Path: comp-std-cpp-robomod!not-for-mail
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Delivered-To: std-c++@ucar.edu
X-Newsgroups: comp.std.c++
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
X-NNTP-Posting-Date: Thu, 24 Apr 2003 10:53:08 EET DST
X-OriginalArrivalTime: 24 Apr 2003 08:01:39.0176 (UTC) FILETIME=[BC194E80:01C30A37]
X-Spam-Status: No, hits=-3.0 required=5.0
	tests=FORGED_HOTMAIL_RCVD,INVALID_MSGID,MAILTO_TO_SPAM_ADDR,
	      NOSPAM_INC,PRIORITY_NO_NAME,QUOTED_EMAIL_TEXT,REFERENCES,
	      SPAM_PHRASE_00_01
	version=2.41
Xref: archiver1.google.com comp.std.c++:18930


"Thomas Mang" <a9804814@unet.univie.ac.at> wrote in message
news:3EA7067C.BD7A6968@unet.univie.ac.at...
>
> A point against "void main()":
> It violates the overloading rules because we'd have then 2 functions
differing
> only in the return type.

Not really because that, and int main(), would never
coexist in a single program since there would still be
just one main() function.

Cheers!

 - Risto -


---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



