> See if you can figure out what this C program does before you compile and
> run it.
Apparently (I am not a C programmer) it is completely standard except
for one exception!
$ cc test/stand=ansi89
main(t,_,a)
^
%CC-I-MAINPARM, Strict ANSI C extension: The declaration of the "main" function
has more than two parameters.
at line number 3 in file DISK$SCRATCH:[HELBIG]TEST.C;1
-------------------------------------------------------------------------------
You are not expected to understand this.
---Ken Thompson [Unix V6 kernel source]
--
Phillip Helbig Email ......... [log in to unmask]
University of Manchester Tel. ... +44 1477 571 321 (ext. 2635)
Jodrell Bank Observatory Fax ................ +44 1477 571 618
Macclesfield Telex ................ 36149 JODREL G
UK-Cheshire SK11 9DL Web ... http://www.jb.man.ac.uk/~pjh/
************************ currently working at *******************************
Kapteyn Instituut Email (above preferred) [log in to unmask]
Rijksuniversiteit Groningen Tel. ...................... +31 50 363 4067
Postbus 800 Fax ....................... +31 50 363 6100
NL-9700 AV Groningen
The Netherlands Web ... http://gladia.astro.rug.nl/~helbig/
My opinions are not necessarily those of either of the above institutes.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|