~ is for desconstructors (sorry).
I thought you had Get functions to do that, which return the value
Code:int Person::GetAge() { return age; }
~ is for desconstructors (sorry).
I thought you had Get functions to do that, which return the value
Code:int Person::GetAge() { return age; }
Environment: OS X, GCC / G++
Codes: Java, C#, C/C++
AOL IM: neandrake, Email: neandrake (at) gmail (dot) com