Starting out with C++ - from control structures through objects