- #36
pbuk
Science Advisor
Homework Helper
Gold Member
- 4,800
- 3,075
Strictly speaking, it doesn't - is Visual Studio insisting that it should? Note that you have declared nameL and phoneL as const; can you see why there is no point in having a const that is not static?yungman said:One think I am still not quite get, why the int variable has to have "static" in front when declaring in the class inside the .h file. that tripped me for a little while.
Last edited: