View Single Post
boletje

 
Member Since: Jul 14, 2006
Posts: 29
boletje is on a distinguished road

boletje is offline
so i downloaded apple developer tools (Xcode 2) and installed it. I made doubly sure i had GCC 3.3 and 4.0 installed aswell as X11 but, i assume the main installer installs these rather then me having to go through every package manually.

I wrote a simple "Hello" program using the text editor "VI" in terminal. But..im a little unsure how to execute. normlly i did "a.out test" and it would compile and run..but it appears differently in OS X.

Anything im doing wrong? my code is below..but i know its rght lol..

#include stdio.h

main()
{
printf("Hello worl/n");
}
QUOTE Thanks