Only static and const varibles can be assign to a class ??
- by numerical25
I am learning c++. Just curious, can only Static and constant varibles be assigned a value from within the class declaration ?? is this mainly why when you assign values to normal members, they have a special way doing it
void myClass::Init():member1(0), member2(1)
{
}