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