Simple C++ Example