Basic C++ code added