Basic C++ Compiler for Mac (I don't mean a BASIC compiler)

Hi I'm Kian (probably the worst way to start a post)
I am new to programming and need a simple c++ compiler.
One not too advanced to make simple programs.
Please don't comment with Xcode because I don't get it, if you do comment with Xcode, please explain how to make a simple program with about the same level as Hello World.

Thanks for your suggestions!

Kian
closed account (z05DSL3A)
Xcode includes a "Downloads" preference pane to install optional components such as command line tools.

To open this pane click the "Xcode" menu, then click "Preferences", then click "Downloads". The install the command line tools.
Ok thanks for replying!
On a Mac (I own an iMac) you can also use GCC as well as command line programs in XCode. If you are new to C++ you would be better advised to go with XCode as you will be able to easily step through your code to fix errors.
Please don't comment with Xcode because I don't get it, if you do comment with Xcode, please explain how to make a simple program with about the same level as Hello World.


XCode 3.2.6
File->New Project
Under "Mac OS X", choose "Application"
Select "Command Line Tool"
Set the Type to "C++ stdc++"
Choose a directory

XCode 4.6
File->New Project
Under "OS X", choose "Application"
Select "Command Line Tool"
Click "Next"
Choose a product name
Select "C++" from the Type dropdown menu
Choose a directory

Viola - one Hello World application
Topic archived. No new replies allowed.