Various experiments with C++