|
|
|
|
|
by simias
4194 days ago
|
|
I thought it was amusing until I read that: #define LOBYTE 0377
#define STRIP 0177
#define QUOTE 0200
I can deal with preprocessor abuse but octal crosses the line...Also, in case anybody would have the bad idea to take inspiration from that code, don't do that: #define MAX(a,b) ((a)>(b)?(a):(b))
It evaluates the macro parameters twice.Although, on second thought, don't do anything like that code anyway. |
|