Check this out : http://www.youtube.com/watch?v=Ey8LK7P1K94 at 2:30 he creates a C++ project.
Or try this:
- Open XCode.
- File/New Project...
- In the "New Project" Assistant, expand the "Command Line Utility" group.
- Select "C++ Tool"
- Click "Next"
- Give a project name and directory, then click "Finish".
- Press Cmd-Shift-R to open the Console window. Output will appear there.
- Click the "Build and Go" toolbar button.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…