Hi, guys,
I have a question during my developing,
In Java it is very easy to assign different final value sto different
instances of an object, but when in C ++, it is difficult, especially
for an array. Like following,
class CPPCls
{
const int iarray[10];
.......
}
How to initialize this const array within C++?
Thanks in advance.
Gao Lei.
- Re: final vs const Gao Lei
- Re: final vs const Gao Lei
- Re: final vs const Dimitris Vyzovitis
