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

SC68Cal

macrumors 68000
Original poster
Feb 23, 2006
1,642
0
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

macrumors 603
Oct 16, 2003
6,301
1
Yes, choose Tool -> C++ Tool when you start a new project. That will create a clean and empty C++ starting point.
 

Soulstorm

macrumors 68000
Feb 1, 2005
1,887
1
gekko513 said:
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.