Update c++/Main.cpp