New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

C ++ help please


Post Reply New Thread Subscribe

 
Thread Tools
davek

 
Member Since: Mar 11, 2007
Posts: 5
davek is on a distinguished road

davek is offline
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.
QUOTE Thanks
novicew

 
novicew's Avatar
 
Member Since: Jan 04, 2006
Location: Hamburg, Germany
Posts: 1,385
novicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to allnovicew is a name known to all
Mac Specs: MacBook Pro | iMac(2.1 G5) | MacBook(2.16 C2D) | MacMini (1.67 CD) | iPhone 4 | iPad (3rd Gen)

novicew is offline
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.
QUOTE Thanks
davek

 
Member Since: Mar 11, 2007
Posts: 5
davek is on a distinguished road

davek is offline
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.
QUOTE Thanks
djames42

 
Member Since: Oct 07, 2005
Location: Seattle
Posts: 346
djames42 has a spectacular aura about
Mac Specs: MBP CD 1.83/2ghz/7200 100g + Mini 2ghz C2D 2gb + Mini 1.42ghz G4 + PM 7200/120 + Newton OMP

djames42 is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« X-Moto 2.6 | viewing animated gifs working and not working »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 12:56 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?