noddy playing around in c++