Even in C++ a great many coding standards dictate the use of all upper case for Preprocessor "constants" (ie #define), but the use of MixedCase for POD which is declare4d as "const".
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!) 2008, 2009,2010 In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
@TheCPUWizard: are you also agree that in C# it is not convention to have constants all upper case?
Yes. The ONLY place where all uppercase is the accepted convention in most environments is in preprocessor macros (typically used for conditional compilation).
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!) 2008, 2009,2010 In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
yes, i also noticed that in MSDN microsoft has used camelCase for constants but it was more distinguishable for me to have it all uppercase and it does not conflict with any other convention; so i am confused!
Please rate my post if it was helpful for you.
Java, C#, C++, PHP, ASP.NET
SQL Server, MySQL
DirectX
MATH
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.