Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

RAW POWER OF ITERATIVE LOOP

Name: Anonymous 2011-12-09 9:08

Bask in the glory of such genius:
http://dis.4chan.org/read/prog/1323226650/65

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-12-09 11:09

The macro in >>1 just replaces writing the loop. I don't mean to use it as some generic function, it just looks identical.
#define fact(x) ;for(c=x-1;c;c--)x*=c;
i could just write the loop inline, if i'm not reusing the macro.
By reusing the macro i save typing time and raise abstraction level(for free, since its just text replace)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List