I want to compile C++ code on MacOS X, using the g++ compiler. How do I install it?
Download Xcode, which is free with an ADC online membership (also free):
http://developer.apple.com/technology/xcode.html