Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 1996 02:36:08 -0800 (PST)
From:      obrien@cs.ucdavis.edu (David E. O'Brien)
To:        chat@freebsd.org
Subject:   Re: your mail
Message-ID:  <9603011036.AA28992@toadflax.cs.ucdavis.edu>
In-Reply-To: <199602292219.PAA21761@seagull.rtd.com> from "Tony Jones" at Feb 29, 96 03:19:10 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> >void main( int argc, char *argv[] )
> >        {
> >        int     i = 0,
> >                p = 1;
> >
> >        for ( int l = 10; l; l-- )
> >                {
> >                i += p + l;
> >                p++;
> >                }
> >        }
> 
> Apart from the fact that this makes me want to reach for the nearest bucket, 
> I think someone has been spending a little too much time coding in C++ :-)

Can't be...  main() ain't void in C++.  Shall we discusss the virutues of
"void main()"???  Anybody seen the comp.lang.c T-shirts with the slash
through "void main()"?

-- David    (obrien@cs.ucdavis.edu)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9603011036.AA28992>