Main C++