|
-
November 12th, 2006, 12:10 AM
#1
Silly #define Question
Hey, I feel silly for asking this, but, say if I do:
Code:
#define abcdefg 12345
void Test(){cout<<abcdefg;}
This will work on all standards conforming C++ compilers, right?
I mean, is it safe to use #define to define something? Will this glorified search & replace work on all preprocessors?
Thanks in advance,
sorry for such a retarded question.
Edit: Ah, I just remembered about NULL, is this a standard #define, or something that's Microsoft (and others) specific?
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
|