1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Using XCode for learning C++

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

  1. macrumors 68000

    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. macrumors 603


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


    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. macrumors 68000

    Thanks everyone!

Share This Page