Main c++