From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: void main ? Date: Mon, 07 Jul 1997 09:48:40 -0400 Organization: Cornell University Lines: 38 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33C0F3B8.75F0@cornell.edu> References: <33BBABD2 DOT 3249 AT cornell DOT edu> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: 128 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Giovanni Resta wrote: > I'm sorry I do not know what a troll is. (Apart in Tolkien tales...). > Anyway I'm rather confident I'm not completely dumb as your kindly > answer slightly suggest :-). i wasn't suggesting that your message was dumb. i was suggesting that it was annoying, mostly because it sounded like so many others where people say 'i don't get any errors/i don't care about the exit code ...' that is why those comments are mentioned in the faq. as for troll, according to http://www.gnofn.org/~tlewis/glossary.htm#T Troll A person who posts only to inflame opinion is "trolling for flames". Most are so obvious that only the most clueless "newbies" respond. it was mostly an ironic remark on what i was doing. i took the bait and responded to a 'void main' message. > While I'm an (allegedly:-) theoretical computer scientist > I've also 18-19 years of programming experience on machines ranging > from Commodore Vic-20 to Cray-T3D and I've used languages among > APL,Algol,Basic,Cobol,Lisp,Forth,Fortran, and of course C. i respect that. i basically misunderstood the intention of your post. by the way, i started on a sinclair zx-80 in 1981 and later got a speccy. we speccy people really don't like commies ;-) > (3) I just wonder If anybody come out with an actual example of an > error caused (directly of indirectly) by void main(). i can't think of anything fatal. however, say you are writing a front-end for a bunch of utilities that you spawn based on the user's choices. wouldn't it be nice to be able to tell if the program at least succeeded. -- Sinan