~ is for desconstructors (sorry).

I thought you had Get functions to do that, which return the value

Code:
int Person::GetAge() { return age; }