getting back into the hang of c++