Messing around with c++