Bible software...
Brian Dean bridean@hotmail.com
Sat, 31 Jan 1998 07:58:23 PST (00886283903, 19980131155824.16085.qmail@hotmail.com)
AUTISM
>Here is a free program which generates Biblical texts to order. Great
>for Bible Codes too !
>
>void main(int argc,char *argv[])
>{
>printf("The inerrant word of God\n");
>while (1) putc(random() % 26+'a');
>}
Hahahaha.. Great program, except you don't need the argc or the argv.
I guess if you wanted to go a step up to C++ you could do
void main()
{
cout << "The inerrant word of God" << endl;
while(1)
{
cout << (char) ((random() % 26) + 'a');
}
}
Except that it takes a few more lines than your code and using
file streams is not as efficient.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com