Simple C++ application example