P
pavan734
Hello, I dont know exact subject line for this question.
In my class construcor I will read a value into a variable(member
variable or a global variable). I need that variable to be constant
throught the program & that value is not known until the constructor
is invoked. To be more precise I need the variable to remain constant
throughout the program execution but the value is not known while
declaring it. How to declare such varibles?. It is ok if that variable
is declared inside the class or outside the class as global varible.
In my class construcor I will read a value into a variable(member
variable or a global variable). I need that variable to be constant
throught the program & that value is not known until the constructor
is invoked. To be more precise I need the variable to remain constant
throughout the program execution but the value is not known while
declaring it. How to declare such varibles?. It is ok if that variable
is declared inside the class or outside the class as global varible.