Gpp is a project mainly written in ..., it's free.
Command line c++, like ruby -e "puts 'hello world'"
to compile: cd src make
to install cd src sudo make install
to use with imagination: gpp -e 'printf("%s",argv[1]);' "Hello world"