PDA

View Full Version : Using XCode for learning C++




SC68Cal
Aug 10, 2006, 01:10 AM
Hey everyone, I picked up a "learn C++ in 21 days" and I have to admit, XCode has left me spoiled when working on a Java project, where inside the src folder I have my java source file and everything makes sense.

However, I've ran into a spot of trouble finding the correct way to use Xcode to use as I learn C++. The problem with most of the carbon projects and assorted projects is that they toss all kinds of things into the newly made file that frankly bewilder me, and just using the create new file option to make a C++ file leaves me stranded, I can't find a way to compile and run my program to see if it works.

Anyone have any advice?



gekko513
Aug 10, 2006, 04:10 AM
Yes, choose Tool -> C++ Tool when you start a new project. That will create a clean and empty C++ starting point.

Soulstorm
Aug 10, 2006, 04:30 AM
Yes, choose Tool -> C++ Tool when you start a new project. That will create a clean and empty C++ starting point.
That's right. You could understand that because you know that every program that you will create during reading the book will be a command line tool.

SC68Cal
Aug 11, 2006, 01:15 AM
Thanks everyone!