-
August 26th, 2003, 05:30 PM
#1
const vs. enum very simple question
It is true that the following definition on a header file:
is better that the this...?
the document says that the second does not allocate any memory space , so it operates like a standard #define in C.(http://www.metagraphics.com/pubs/Met...odingGuide.pdf "Metagraphics coding guide")
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|