Best Compiler For C++ In Mac

Best Compiler For C++ In Mac Rating: 4,8/5 8894 votes
Active2 years, 8 months ago

Clang is the best compiler period, and it's sponsored, and the default compiler on OS X. Best Mac C++ Compiler (self.learnprogramming) submitted 1 year ago by ThatSemiConductor I just purchased a book to help me learn C++ but it doesnt give any suggestions for a compiler for Mac. Mastering the C programming language - a classic code environment used to build software, apps, and whole operating systems - is a great skill, and Mac OS X makes it easy to learn. On this same topic, can someone please advise on how to actually test out (compile) on Mac? I'm new to both C++ as well as Macs and I'm having trouble getting through this textbook on C++. I know this is a vague request, but any help would be great. Best Mac C++ Compiler (self.learnprogramming) submitted 1 year ago by ThatSemiConductor I just purchased a book to help me learn C++ but it doesnt give any suggestions for a compiler for Mac.

I teach a C++ course using Visual Studio. One of my students has a Mac and was looking for an IDE to use on his machine. What would be good to recommend?

Peter Mortensen
14.4k19 gold badges88 silver badges117 bronze badges
JohnMcGJohnMcG
6,8814 gold badges34 silver badges46 bronze badges

closed as not constructive by WillFeb 14 '12 at 14:11

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.

9 Answers

Xcode which is part of the MacOS Developer Tools is a great IDE. There's also NetBeans and Eclipse that can be configured to build and compile C++ projects.

Clion from JetBrains, also is available now, and uses Cmake as project model.

Grant LimbergGrant Limberg
14.3k10 gold badges56 silver badges81 bronze badges
Terry G LorberTerry G Lorber
2,3301 gold badge19 silver badges30 bronze badges

Code::Blocks is cross-platform, using the wxWidgets library. It's the one I use.

Peter MortensenBest Compiler For C++ In MacBest c++ compiler free
14.4k19 gold badges88 silver badges117 bronze badges
Head GeekHead Geek
19.9k19 gold badges69 silver badges81 bronze badges

Another (albeit non-free) option is to install VMware Fusion or Parallels Desktop on the Mac and run Windows with Visual Studio in a VM.

This works really pretty well. The downsides are:

  • it'll cost money for the virtual machine software and Windows (the school may have some academic licensing that may help here)
  • the Mac needs to be an x86 Mac with a fair bit of memory

The upside is that you and the student don't need to hassle with differences in the IDE that may not be accounted for in your instruction materials.

Michael BurrMichael Burr

Best Compiler For C++ In Windows

290k41 gold badges451 silver badges685 bronze badges

If you are looking for a full-fledged IDE like Visual Studio,I think Eclipse might be your best bet.

Eclipse is also highly extensible and configurable.

See here: http://www.eclipse.org/downloads/

Best Online C++ Compiler

nkr1ptnkr1pt
3,5694 gold badges28 silver badges54 bronze badges
Peter Mortensen
14.4k19 gold badges88 silver badges117 bronze badges
espenkespenk
3652 gold badges6 silver badges21 bronze badges

It's not really an IDE per se, but I really like TextMate, and with the C++ bundle that ships with it, it can do a lot of the things you'd find in an IDE (without all the bloat!).

mipadimipadi
305k71 gold badges472 silver badges454 bronze badges

Avoid Eclipse for C/C++ development for now on Mac OS X v10.6 (Snow Leopard). There are serious problems which make debugging problematic or nearly impossible on it currently due to GDB incompatibility problems and the like. See: Trouble debugging C++ using Eclipse Galileo on Mac.

Download from Camtasia Camtasia 2 is one of the most famous and professional screen recording software for Mac OS and is offered for a price of $99. Download from Screen Record Studio HD It is a professional screen recording software that can be purchased for $4.99. With the extensive layout, the user can make smooth editing and mix on the recorded video. The tools of the software are huge time savers for the people who record screen regularly. Add titles, annotations, transitions and panning animations on the recorded movie to increase the effect of the video. Best

Community
Joel HoffJoel Hoff

Xcode is free and good, which is lucky because it's pretty much the only option on the Mac.

idmean
11.1k7 gold badges39 silver badges71 bronze badges
MenkboyMenkboy

Not the answer you're looking for? Browse other questions tagged c++macoside or ask your own question.