X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp,comp.lang.c++,alt.comp.lang.learn.c-c++ Subject: Re: More than one letter input Followup-To: comp.os.msdos.djgpp,comp.lang.c++,alt.comp.lang.learn.c-c++ Date: 5 Dec 2001 09:04:50 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 22 Message-ID: <9uknvi$f6t$1@antares.lu.erisoft.se> References: <91509768 DOT 0112031721 DOT 1481a4ee AT posting DOT google DOT com> <9ui7n3$bsg$1 AT planja DOT arnes DOT si> <9ui8hv$iuu$1 AT antares DOT lu DOT erisoft DOT se> <9ui9j0$d5h$1 AT planja DOT arnes DOT si> <9uimj9$nmr$2 AT antares DOT lu DOT erisoft DOT se> NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Bart Kowalski (me AT nospam DOT com) wrote: : "Martin Stromberg" wrote in message : news:9uimj9$nmr$2 AT antares DOT lu DOT erisoft DOT se... : > Goran Bervar (n DOT e DOT b DOT e DOT r DOT e DOT m AT yahoo DOT com) wrote: : > : "Martin Stromberg" wrote in message : > : > That's news to me. And I think it's very very wrong. You must return : > : > something from main() if you want to have a predictable error from : > : > your program. : > : > : Nah. ISO-IEC 14882, §3.6.1-5 "[...]If contol reaches the end of main without : > : encountering a return statemnet, the effect is that of executing return 0;" : > : > Ok. So we have another difference between C and C++. : The new C standard allows this as well. You're right. Sorry for the misinformation. Right, MartinS