PDA

View Full Version : Compiling with xcode




Uma888
Feb 27, 2006, 06:10 PM
iv just started learning Java and C.

Iv added some simple lines of code in to xcode, but i cant seem to find a way to compile my code :S iv been through every menu and cant seem to find "compile" anywhere :S, i have seen build, but i cant use it, tis blocked out :S

Please help

BTW: i have been using JGrasp eversince, but i want to experiment with xcode



ekenny
Feb 27, 2006, 06:22 PM
You can only compile your code if you start a project. If you just simply open the editor and start coding away, you will not be able to build it.

gekko513
Feb 27, 2006, 06:30 PM
What ekenny said. To start a simple Java stand alone application project:

1. Select "File -> New Project"
2. Select "Java -> Java Tool"
3. Click "Next"
4. Enter a project name like "MyName"
5. Click "Finish"
6. Double click "MyName.java"
7. Program
8. Click "Build and Go"
9. Repeat from 7

Uma888
Feb 28, 2006, 04:30 PM
Thanks