There's two ways to do this, one is have Developer Tools installed ($99 a year I believe) or get gcc like ayan said:Just asking, is there a interpreter/compiler installed in a macbook? Thanks
And how to open it?
However, ayan, I think Daniels was intending to do it by hand like a man, don't think there really is another way to do it that I know of.If you want to do it by hand, like men do it. Write the source file in any text editor. Save the file with the .c extension. Search and download gcc compiler. Run gcc with the parameters as follows:gcc -Wall -o myprogram /path/myprogram.c, after that, you just run the executable it creates.
Nope. There's no "primary focus" here, it can compile C programs.Im not sure, because mac's primary focus is on Objective C, not C. There are plenty of tools that compile C files.
You can also use Netbeans or Eclipse with the C/C++ plugins, if you prefer a IDE environment.
Don't use Eclipse. I hate eclipse with a passion. It looks good, but it's terribly unstable, and veri often Does't works as it should behave. I started programming in Dev c++, and it's pretty good, i'm not sure that there is a version for mac though..
You probably didn't use Eclipse long enough to get used to it from what it sounds like. So many developers use Eclipse that I don't believe you when you say it's bad
I also started learning C in Dev C++, it's pretty great. Lost interest in C though.