Basic C++ programme