Wilka,
Oh fine, be that way
In regards to C99 and standards, I''m curious about that too. Where do you get information on the C++ standard?
Thanks,
Dire Wolf
direwolf@digitalfiends.com
Does anyone use the underscore for...
[email=direwolf@digitalfiends.com]Dire Wolf[/email]
www.digitalfiends.com
www.digitalfiends.com
December 13, 2000 07:34 PM
underscore in front does conflict with the compiler (at least for VC++). Try putting the underscore behind instead.
underscore in front does conflict with the compiler (at least for VC++). Try putting the underscore behind instead.
quote: Original post by NuffSaid
I thought prefixing variables/functions with _ would invade the compiler''s namespace?
Only if the character following the underscore is capitalized or another underscore. However, various compilers may not follow that strictly, so I usually avoid the underscore as a prefix altogether.
If I really feel the need for an underscore, I''ll use it as a suffix; generally, I don''t prefix variables with "_" or "m_" at all.
---- --- -- -
Blue programmer needs food badly. Blue programmer is about to die!
---- --- -- -
New York. New York. New York. Texas. Texas. New York. New York. Canada.
---- --- -- -
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement