I am trying to regain my knowledge on C++