C++ Compiler for Mac

I am just starting to learn C++ and I am following the tutorial on this site. It suggests you practice along with it, changing code to see what happens.
What compiler is best for a beginner?
I am using a Macbook pro. I went to the eclipse site for C++ compilers, but I have no idea which one to get or where to start.
Also, once I get the compiler, is that all I need to do to start practicing writing and running code?
Also, if anyone has any better 'learn C++ for non programers' links or sites, that would be helpful.
Thank you kindly,
-C
Eclipse CDT is a C++ editor. I don't think it comes with a compiler, sadly.

You'll probably want to install Xcode from the Apple Developer site and play around with that, which includes both a compiler and an editor.
http://developer.apple.com/xcode/

If you find Xcode a bit confusing, then after installing it you can also install one of many editors/IDEs. For beginners I usually recommend Netbeans which will use Xcode's compiler but let you write in a different editor.
http://netbeans.org/

I didn't think the tutorial on this site was that bad for "non-programmers". But... there is also this one.
http://www.cprogramming.com/tutorial/c++-tutorial.html

Good luck, and have fun!

-Albatross
Last edited on
Thank you, that is quite helpful. And no complaints about this site, just want supplementation. Thank you again!
-C
Topic archived. No new replies allowed.