Running C program on OSX

Joined
Nov 27, 2010
Messages
2
Reaction score
0
Points
1
Hello All,

I recently switched from Windows to Mac and bought a new MacBook Pro yesterday. I am getting used to it and I feel good about Mac now.

Now my question - I am a student and use programming a lot to do my engineering projects at university. I want to learn how does one write,run and compile C program on Mac OSX.Are there any particular application required that I need to download to run C programs on my MacBook Pro.

A step by step guide will be very useful.....

***************************************************
ipod classic 160 GB
iphone 4 16 GB
MacBook Pro 15" ,320GB HD, 4 GB RAM, 2.54GHz Intel Core i5,Nvidia Graphic Card
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
You need to install the Xcode development tools. Take a look at this for installation instructions. The tools are available on your OS X install discs and through Apple's developer site (this will likely be a newer version than what is on your OS X install disc).
 

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