This is a simple C++ code