some C++ programs