- #36
pbuk
Science Advisor
Homework Helper
Gold Member
- 4,792
- 3,070
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: