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

The C Programming Language

Name: Anonymous 2011-10-24 21:45

Let's have a thread for the C programming language. It's an excellent language.

Name: FrozenVoid !!mJCwdV5J0Xy2A21 2011-11-04 10:21

>>92
35 is placeholder for what value supposed to be intially. It could change at the course of the program, but most likely you'll change it back to default value (that being 35). I see no problem  with #define ten 10000 as long as its useful to change ten.
example you have a huge array operation inlined and referenced in several places with
x[i]
x[i+1]
x[i+2]...
But suddenly you want to change format of underlying array for performance testing
instead of hunting down where +1 or +2 reside and manually setting them to +4 +8 , you just change
ADD2 to 8 and ADD1 to 4, and entire program works as expected.
If you don't like it you just change the constants back to 1 and 2.

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