Simple C++ program