c++ learning and what not