Using XCode for learning C++

Discussion in 'Mac Programming' started by SC68Cal, Aug 9, 2006.

  1. SC68Cal macrumors 68000

    Feb 23, 2006
    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?
  2. gekko513 macrumors 603


    Oct 16, 2003
    Yes, choose Tool -> C++ Tool when you start a new project. That will create a clean and empty C++ starting point.
  3. Soulstorm macrumors 68000


    Feb 1, 2005
    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.
  4. SC68Cal thread starter macrumors 68000

    Feb 23, 2006

Share This Page