Const in Parameters
#2

To quote it from the wiki:
Quote:

const is not widerly used however it declares a variable which can not be modified by code. There are a few uses for this - functions with const array parameters can sometimes be compiled more efficiently or you may want something like a define but which is an array. const is a modifier, it must go with new or another variable declarator. If you try modify a const variable the compiler will complain.

Reply


Messages In This Thread
Const in Parameters - by AlexSkyrise - 04.05.2013, 15:46
Re: Const in Parameters - by RajatPawar - 04.05.2013, 15:49

Forum Jump:


Users browsing this thread: 2 Guest(s)