Just learning a bit of c++