So I am grading papers written for linux in c++. I want to figure out a cool way to compile the programs (.cpp files) from the finder. I was thinking there has to be a way to use Automator to control click the .cpp file and create an object always named test. There probably won't be much linking right now, just standard libs. I just figured that I am spending a lot of time using terminal and figured someone either knows how to do the g++ <filename> -o test command with a service and might be able to help me. I have never used Automator yet so any help is appreciated.
Thanks in advance.
Thanks in advance.