Person::Person(std::string newName, int newAge): name(name), age(age) {}
Your parameters are named 'newName' and 'newAge'
You are initializing your members with 'name' and 'age'. Those are not your parameters. So you are effectively initializing your members with themselves instead of the parameters.
To be honest, I'm a little surprised that compiles. You'd think you'd at least get a warning or something.
Wow, I can't believe I missed that ! I looked right over it. Thanks for your speedy and clear response.
This is my first time using this site; You've been helpful !