Run with g++
I had a fun realization today.
The simple shell script below which I named "run"
#/bin/sh
g++ $* && ./a.out
would let me compile and run simple programs without it being obvious that there was a compile / link step.
Thus I can just do:
run hello.cpp
and get "hello world".