View Full Version : Need C/C++ environment
Jul 15, 2006, 07:01 PM
Does OS X tiger come with a C/C++ environment? If yes, how do I access it? If not, where can I download one (preferably free).
Jul 15, 2006, 07:08 PM
Just install Developer Tools (that came with your Mac and should be on the OS X disk(s)) and you'll be fine... then you can use Xcode (or your favourite text editor and the Terminal) for coding and compiling.
Jul 15, 2006, 07:30 PM
So terminal is a C/C++ compiler?
Jul 15, 2006, 07:43 PM
No, the Terminal.app (which is located in /Applications/Utilities) is your command line access to the Unix subsystem that MAc OS X is based on. And once you've installed Developer Tools you can complile basic C/C++ programs using
gcc -o yourcode.c yourprogram.app
and run them with*
Jul 16, 2006, 11:42 PM
Xcode will become your friend. :D
Jul 17, 2006, 12:38 PM
I was there last week...
1. To locate "Terminal" use spotlight.Enter Terminal.Ensure small window opens. You are now in the shell.
2. use "man gcc" or "man g++" to check whether the compilers are installed
3. in case they are not installed use the Apple CD & install the Xcode.
4. repeat step 2 above to check....
Happy or ..........(Happy++)