shell script that would compile and run  c++ programs