C++ scripts for learning