How can I compile/run C or C++ in Unix console or a Mac terminal?
(I know it, forget it, and relearn it again. Time to write it down.)
In order to compile and run a cpp source code from Mac terminal one needs to do the following: