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

Randomizing during compilation

Name: Anonymous 2010-02-24 8:01

I want some numbers to differ in every build. How do I do that in c?

Name: Anonymous 2010-02-24 9:11

>>3
No, them aren't, it's quite easy actually.

You do #include </dev/stdin> in your C file and simply append <<< "int rand_const = $$RANDOM;" to the compiler invocation. That is all, no bloat.

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