How do I compile a c program from my Mac terminal?
Hi,
I'm a new programmer. I have written a c++ program on my mac terminal and I can't run it. I'm using a MacBook Pro 2014 with OS X Yosemite. I have x code installed as well. I've also got emacs installed. So I'm having troubles compiling and executing the program.
MacBook Pro (Retina, 13-inch, Mid 2014), OS X Yosemite (10.10.1)