changed g++ to c++