Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mike619

macrumors newbie
Original poster
Jan 28, 2010
10
0
I have Xcode 3.2.1 and from what i've seen in tutorial youtube videos, my version seems to be missing some templates. I was trying to get to "Command line utility" and then to "C++ tool," but the number of templates i have to choose from seems limited.

I'm under the impression that the newest/updated version of Xcode eliminated a few things. Can anyone tell me how i would go about creating a simple C++ program for my class assignment. I'd really like to use Xcode as opposed to another IDE.

Heres a screen shot of what im faced with:

Screenshot2010-01-28at103509PM.png



Any help is appreciated, thanks.
 
You're on the right path. The screenshot you posted is how you create a simple C++ program in Xcode 3.2. Select Command Line Tool and choose C++ from the Type pop-up menu.
 
I still consider myself a beginner at programming w/ C++.

What does does the "stdc ++" part mean next to C++ in the drop down menu shown in my screen shot? That any different than if i were to pick the "c++ tool" with the older version of Xcode?
 
Choosing C++ from the Type menu is the same as the C++ Tool project in earlier versions of Xcode. It creates a project for writing simple, command-line C++ programs. This is the project you want if you're using Xcode to learn C++.

The stdc++ means the project uses Standard C++, which is what you want if you're learning C++.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.