Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lakesys!davek From: davek@lakesys.UUCP (Dave Kraft) Newsgroups: alt.sources Subject: Re: why - your helpful confidant Summary: why.c Message-ID: <900@lakesys.UUCP> Date: 27 Jul 89 16:54:50 GMT References: <1941@diamond.warwick.ac.uk> Organization: Lake Systems - Milwaukee, Wisconsin Lines: 30 Here's the same thing, only in C: --cut here-- int argc; char *argv[]; { int w; w = argc -1; if(w) printf("I don't know why %s.\n",argv[w]); else if((getpid() % 2) == 0) printf("Why not?\n"); else printf("Just because.\n"); } --cut here-- Feel free to modify this. All I ask is that the modifier tell me via email what he/she has modified. Flames to /dev/null. Dave -- davek@lakesys.lakesys.com uunet!marque!lakesys!davek ------------------------------------------------------------------------------ Forgetting your superuser password is just God's way of saying "BOOGA, BOOGA!"