xcode question

Discussion in 'Mac Programming' started by eng.chick, Oct 24, 2007.

  1. eng.chick
    Expand Collapse
    macrumors newbie

    Oct 17, 2007
    im trying to learn C on my own. for writing the code, should i creat a file or a project? then how can i compile and run it?
  2. toddburch
    Expand Collapse
    macrumors 6502a

    Dec 4, 2006
    Katy, Texas
    In XCode, go to File > New Project. Then scroll down to Command Line Utility, then under that, Standard Tool.

    I like to keep all my project under my XCode directory. So, for the Project Name, I pick dec2ascii or some such name, then for the Project Directory, I'll pick ~/XCode/dec2ascii/.

    Works for me.


Share This Page