www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/20/16:47:42

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Michael Wahl <mick AT pq DOT fta-berlin-nospam-de->
Newsgroups: comp.os.msdos.djgpp,comp.lang.c++,alt.comp.lang.learn.c-c++
Subject: Re: More than one letter input
Date: Thu, 20 Dec 2001 22:21:15 +0100
Organization: PicoQuant
Lines: 22
Message-ID: <3C22564B.CADDE608@pq.fta-berlin-nospam-de->
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> <wa5P7.21669$yE5 DOT 1335461 AT news20 DOT bellglobal DOT com> <9uknvi$f6t$1 AT antares DOT lu DOT erisoft DOT se>
NNTP-Posting-Host: quantum.pq.fta-berlin.de
Mime-Version: 1.0
X-Trace: rhodos.FTA-Berlin.de 1008886947 5784 141.16.70.115 (20 Dec 2001 22:22:27 GMT)
X-Complaints-To: usenet AT rhodos DOT fta-berlin DOT de
NNTP-Posting-Date: 20 Dec 2001 22:22:27 GMT
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Martin Stromberg wrote:
> 
> Bart Kowalski (me AT nospam DOT com) wrote:
> : "Martin Stromberg" <eplmst AT lu DOT erisoft DOT se> 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" <eplmst AT lu DOT erisoft DOT se> 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.
> 
yeah, and the innocent OP was about echoing a string. great help wasn't
it?

- Raw text -


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