C++ Programs, samples