I am new to programming and am trying to use my powerbook at school, which of course is dominated by pc's. I have written very simple code in C using vi in terminal, but i dont know how to compile or run my code. Thanks for the help!!
Actually, you don't have to be a programmer by proffession to download x-code. I know I am not, I just gave some information and they let me download X-Code.
Here is what you will do:
Download X-Code and install it. Then make a new project. In the next dialog that appears you will see a selection of project types you wish to create. Choose "Carbon Bundle". That's it.
In the window that appears, just write the code, compile it and run it. You don't have to use the terminal or any other debugger, X-Code is just what you need.