Programming experiments in C++