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

Do you #define booleans?

Name: MILKRIBS4k 2009-06-23 7:30

Do you? What's wrong with simple one and zero?

Name: Anonymous 2009-06-25 12:17

>>52
Each definition may be expanded not more than once.
Also, you can't have `#define "one" something`.

    #define one two
    #define two three
    #define three one // comment this line to see that the stuff is really expanded.
    #define stringize(s) #s
    #define stringize_expand(s) stringize(s)
    printf("%s", stringize_expand(one));

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