2 const

The reserved word const is very meaningful in C and C++. While its use is somewhat optional, the proper use of this attribute enables a compiler to check for potential problems that can save much debugging.

The key concept of const is constant, or ``will not change later on''.



Subsections

Copyright © 2006-09-19 by Tak Auyeung