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

Linux games

Name: Linux games 2011-11-25 10:34

Linux games

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-11-26 8:15

>>47
1.These are simple types. If i really needed typedefs(typically for complex types like typedef struct/typedef type array), i'll write them for that case.
2.you can #undef #define in the middle of file to change local types.
3.i prefer to use only one versatile d=#define for  functions, chunks of code and constant
instead of typedefs,inline functions,and #defines (#define replaces them all)
4.#define can be using other defines/vars, since it manipulated text, while typedef is static single-purpose declaration aliasing a type(it cannot combine or change things at compile time).

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