Some experiments in C++