how do i run c++ on mac code example Example: run c++ program in mac terminal g++ sort.cpp -o sort ./sort