Transitioning From Visual Studio

Discussion in 'Mac Programming' started by ketema@ketema.n, Mar 26, 2005.

  1. ketema@ketema.n macrumors newbie

    Mar 26, 2005
    Hello all, I was wondering if I could get some help with setting up a simple C project with Xcode. I am tgransitioning to mac programming and an very used to Visual Studio. I want to make a simple C project that can be debugged in the xcode interface, but I don't want any of the Cocoa headers yet, just a plain C project with one .C source file. What is the proper way of getting this set up with xcode? So far I have tried an empty project, but when I add a source file I can't build it, or debug it. The menus are grayed out. I then tried adding a target(even though I'm not exactly sure what that means) and although by debug and build options were availble they didn't work, got a message saying no launchable executable present to run.

    Please help me get started with Xcode.
  2. robbieduncan Moderator emeritus


    Jul 24, 2002
    When you create a new project select Standard Tool from under Command Line Utility. You should now be able to create a "normal" C command line application without Cocoa (or Carbon).
  3. ketema@ketema.n thread starter macrumors newbie

    Mar 26, 2005

Share This Page