posted 18 years ago
int hg = lf = 90; // declaration for 'hg' not for 'lf'
int lf; // only here 'lf' is declared
this member variables declaration can also be done as follows
int lf;
int hg = lf = 90;
this type of declaration ordering is not an issue with member variables but matters for local variable declaration. Hope this helps!