Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: blume@beth.princeton.edu (Matthias Blume)
Subject: Arghhhhh (Was: Re: [Q] Accurately measure exec time of a process?)
Date: Sat, 3 Sep 1994 18:21:56 GMT	[thread overview]
Message-ID: <BLUME.94Sep3142156@beth.princeton.edu> (raw)
In-Reply-To: tim@handel.Princeton.EDU's message of Sat, 3 Sep 1994 17:45:54 GMT

In article <1994Sep3.174554.27974@Princeton.EDU> tim@handel.Princeton.EDU (Tim Hollebeek) writes:

   [ ... ]  In your case you would
   just have to make sure your program looks something like:


   void main() {
     doTaskOne();
     doTaskTwo();
   }

no, No, NO, *NO*, NOOOOOOOOOO!!!!

(See the numerous threads on how to correctly declare ``main''.  I'm
sick of it.)

Maybe someone can set up an automated service which sends a followup
to each and every article in c.l.c (excluding its own) -- with the
portion of the FAQ, quotes from the standard, K&R2, H&S, etc., and a
standard flame -- all concerning the correct definition of ``main'',
and why ``void main ...'' is wrong.  There is an 80% chance that this
kind of followup is appropriate.

--
-Matthias


  reply	other threads:[~1994-09-03 18:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-09-03  7:58 [Q] Accurately measure exec time of a process? Wuxu Peng
1994-09-03 17:45 ` Tim Hollebeek
1994-09-03 18:21   ` Matthias Blume [this message]
1994-09-04  0:00 ` Dan Pop
1994-09-06 19:03 ` Ajay Shekhar
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox