Best tools for running and compiling C on a Mac?
I have tried creating the file in vi (with auto indent on) and then compiling with "cc myFile.c" but I was wondering if there was something better but less complicated than eclip开发者_Python百科se.
You can use XCode, but I assume you must have some objection to that or else you wouldn't be asking the question.
So, to help everyone answer your question: what don't you like about XCode? What features do you want? I wouldn't say the XCode editor is the best on the platform (though it's completely serviceable, offering autocomplete and coloring and indenting and all that usual stuff), but without knowing what you're looking for, I can't tell you what other editors you should look at.
Might want to take a look at netbeans. Generally in the same space functionality wise as eclispse, but I find it does a much better job of staying out of the way when you don't need all the gizmos.
jEdit (Free, java), and Textmate (~$50, native) are good choices if you want a text editor that will syntax highlight, indent, etc.
精彩评论