My C++ Code.