Error: expected constructor, destructor, or type conversion before ';' token
View Single Post
Mar5-12, 12:20 AM
1. Function declaration needs a return type (C/C++ is a static typed language).
2. const declaration means the object's properties are not changeable until the const-ness is not cast away.