Following along with the book professional c++