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

gregbenj

macrumors member
Original poster
Jun 28, 2006
47
22
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).
Thanks
 
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.
 
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*

./yourprogram.app
 
terminal, g++,gcc

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++)

Have fun...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.