Author: Hristo
Date: 22:08:55 07/11/04
Go up one level in this thread
On July 12, 2004 at 00:06:09, Eric Jensen wrote: >I have installed XCode, however, I am unable to compile simple programs like >"hello world." In the build menu, the compile button is just grayed out... and >i ahve almost no idea what i'm doing wrong. I downloaded the program in >segments from the ADC website and i'm not sure if all of the segments have been >installed (?) but i was under the impression that installer did that for me. I >am having difficulty with this in that I am simulataneously new to macintosh and >new to programming, and am not sure where exactly to turn for help. > >I'm sorry again if these posts seem really retarded I would appreciate if anyone >could give me maybe a simple walkthrough of just how to actually get a hello >world program compiled in XCode, and hopefully from that point I wont have to >bother you any further. I also greatly appreciate the help i recieved from my >last post 1) Run XCode 2) Menu "File"->"New Project" 3) Scroll down in the list of possible project templates and select "C++ tool" 4) Give you Project name and select a Folder (directory) where you want it placed. 5) Click on the "Build and Run" icon or select it from the "Build" menu. This should be it! Then in your project window you'll see you files and other support stuff. But the only important thing is "main.cpp" unders "Sources" ... just look around in your project window and you'll find your source files. ;-) Cheers, Hristo
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.