Sunday, April 18, 2004

Fruitful Exercise

1. Grab the nearest book.
2. Open the book to page 23.
3. Find the fifth sentence.
4. Post the text of the sentence in your journal along with these instructions.


From Kernighan and Ritchie's The C Programming Language, Second Edition:
By definition, chars are just small integers, so char variables and constants are identical to ints in arithmetic expressions.
Great wisdom always gives me pause. From the man behind the curtain; Compile this:
main(k){float i,j,r,x,y=-16;while(puts(""),y++<15)for(x
=0;x++<84;putchar(" .:-;!/>)|&IH%*#"[k&15]))for(i=k=r=0;
j=r*r-i*i-2+x/25,i=2*r*i+y/10,j*j+i*i<11&&k++<111;r=j);}
You'll get a glimpse from on high at the infinity of the universe.

No comments:

LinkWithin

Related Posts with Thumbnails