Article View: comp.os.msdos.misc
Article #3485Re: MY SCREWUP.. ok ok ok... get off it dudes
From: Glenn M. Mason
Date: Mon, 24 Jun 1991 14:22
Date: Mon, 24 Jun 1991 14:22
26 lines
1784 bytes
1784 bytes
In article <1991Jun24.091147.29839@midway.uchicago.edu> valley@gsbsun.uchicago.edu (Doug Dougherty) writes:
>roy%cybrspc@cs.umn.edu (Roy M. Silvernail) writes:
>
>>matelgar@nmsu.edu (Marek Telgarsky) writes:
>
>>> I changed it so that it just writes Hello
>>> World! on the screen .. The most basic of C programs.. ok?
>>> /***********************************************************************/
>>> main() { /* matelgar@dante.nmsu.edu */
>>> printf("Hello World!\n");
>>> }
;^)
--
#include <std.disclaimer> /* question of the day boys 'n girls ... */
main(argc,argv) /* is this RECURSION or is it ITERATION? */
int argc; char *argv[]; /* ... or is it a hokey C program embedded */
{ /* within a .sig file with the sole intent */
int i = atoi(argv[1]); /* of propagating a rash of useless follow- */
char buf[20]; /* up postings? ;^) */
printf("For the %d%s time, ENOUGH ALREADY!!\n",i,
(i%100==11||i%100==12||i%100==13)?"th":((i%10==3)?"rd":
((i%10==2)?"nd":((i%10==1)?"st":"th"))));
execl(argv[0],argv[0],sprintf(buf,"%d",i+1),0);
}
Technical Details
Message-ID:
<1991Jun24.142243.15115@welch.jhu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!welch.jhu.edu!glennReferences:
<MATELGAR.91Jun23114843@dante.nmsu.edu> <6m5144w164w@cybrspc> <1991Jun24.091147.29839@midway.uchicago.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!welch.jhu.edu!glenn From: glenn@welch.jhu.edu (Glenn M. Mason) Newsgroups: comp.os.msdos.misc Subject: Re: MY SCREWUP.. ok ok ok... get off it dudes Message-ID: <1991Jun24.142243.15115@welch.jhu.edu> Date: 24 Jun 91 14:22:43 GMT References: <MATELGAR.91Jun23114843@dante.nmsu.edu> <6m5144w164w@cybrspc> <1991Jun24.091147.29839@midway.uchicago.edu> Reply-To: glenn@welchlab.welch.jhu.edu (Glenn M. Mason) Organization: Welch Medical Library, Baltimore Lines: 26