Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Thread is VERY OLD

Just wanted to thank you for your answer. Indeed it worked. I am self-studying C and wanted a compiler for my iMac to run programs. Had no idea where to begin.
1. Installed xCode ver 3.2.3. from the app-CD that came with the iMac. Tested gcc in the terminal line - the command was recognized.
2. Downloaded TextWrangler from BareBones website and installed.
3. Created a hello.c simple file and saved it on the Desktop
4. Changed directory by typing in the terminal window cd Desktop. Made sure the file was there by typing ls, it was.
5. Compiled the file and run the executable.

Thanks man for the guidance. I can practise now!!!!

The Masters of the Void tutorial is an excellent guide for learning C on the Mac and it will introduce you to the basics of Xcode. When you decide you want to learn how to use Xcode that might be a good resource for you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.