Create an Account
username: password:
 
  MemeStreams Logo

The C++ 'const' Declaration: Why & How

search

Graham
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Graham's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
The C++ 'const' Declaration: Why & How
Topic: Technology 8:45 am EST, Jan 25, 2007

The 'const' system is one of the really messy features of C++.

It is simple in concept, variables declared with ‘const’ added become constants and cannot be altered by the program, but, in the way is has to be used to bodge in a substitute for one of the missing features of C++, it gets horridly complicated and frustratingly restrictive. The following attempts to explain how 'const' is used and why it exists.

The C++ 'const' Declaration: Why & How



 
 
Powered By Industrial Memetics
RSS2.0