how to compile c++ code with g+
to compile use the following command g++ <file name> to run the script use the following command ./<executable name>
to compile use the following command g++ <file name> to run the script use the following command ./<executable name>