Playing around with C++