C ++ help please

Joined
Mar 11, 2007
Messages
5
Reaction score
0
Points
1
Hello. I've just started Electronics Eng at Uni, and we have started writing programs in 'C'. It is all completely new to me. Does anybody know if it is possible to run C on a mac?

For info, I have a Intel based iMac.

Cheers.
 
Joined
Jan 4, 2006
Messages
1,385
Reaction score
146
Points
63
Location
Hamburg, Germany
Your Mac's Specs
MacBook Pro | iMac(2.1 G5) | MacBook(2.16 C2D) | MacMini (1.67 CD) | iPhone 4 | iPad (3rd Gen)
Yes. C & C++ both can write/compile/execute on a Mac. Just install the XCode2 to get all the required tools. Once its all there (gcc, g++, etc.,), you can start writing in the Terminal or on a preferred GUI.
 
OP
D
Joined
Mar 11, 2007
Messages
5
Reaction score
0
Points
1
Thanks for the reply, but my computing skills, in general, are quite limited. I have no idea what 'xcode2' is, nor do I know what g++ is. At Uni we where using the Bloodshed C program, so I was looking for a way to run that on a mac, or something similar.

Thanks again for your help.
 
Joined
Oct 7, 2005
Messages
346
Reaction score
14
Points
18
Location
Seattle
Your Mac's Specs
MBP CD 1.83/2ghz/7200 100g + Mini 2ghz C2D 2gb + Mini 1.42ghz G4 + PM 7200/120 + Newton OMP
Xcode is the suite of development tools that comes with Mac OSX. By default it is not installed, but can be found by performing a custom install from the OSX installer DVD that came with your computer (or downloaded from the development area of Apple's website).

Bloodshed appears to be a graphical front end to the gcc compiler, just as Xcode is (among other things) a front end to the gcc compiler.

In other words, unless you are developing code that is specific to the Windows environment, you can use Xcode on your Mac to develop the same applications.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top