WV> This is not entirely correct. Compilers usually allocate memory for
WV> declared as const ... This can result in warnings if you do this ins
The compiler has the right to expand constants inline. Good compilers
do so instead of allocating memory.
WV> The usual reasoning for using const in stead of #define is that the
WV> can be seen in the compiler (as it actually is a variable which is n
WV> to be modified).
Better replace your #defines with enums.
Thomas
---
þ MM 1.0 #0113 þ GPF - the Microsoft Award for Programming Excellence..
---------------
* Origin: McMeier & Son BBS (2:301/138)
|