Menu
Are you a student who is learning C++, or a professional who has already been doing C++ coding perhaps on a corporate Linux system, and unsure where to start to transition to a Mac. Or, maybe you already write C++ in a Mac environment but want to explore some other options to improve your coding speed and efficiency.
So everything is clear, we are discussing here are Integrated Development Environments (IDE). An integrated development environment (IDE) is a software package which combines all the basic tools developers need to write and test software. An IDE will typically contain a code editor, a compiler or interpreter and a debugger that can be accessed.
This a quick guide to introduce some options and provide simple examples of how C++ coding can be accomplished on a Mac. We will look at what options are available on the Mac already and also some other IDEs that are available to use on a Mac. Different users will likely care about different features, but will we give you a rundown of each option. The final option is to use Linux on your Mac.
Advertisements
Dev-C 4 Dev-C is a full-featured integrated development environment (IDE), which is able to create Windows or console-based C/C programs using the Mingw compiler system (version MSVCRT 2.95.2-1 included with this package), or the Cygwin compiler. DEV-C free download. Get the latest version now. Development Environment (IDE) for the C/C programming language. Dev-C is a full-featured integrated development environment (IDE), which is able to create Windows or console-based C/C programs using the Mingw compiler system (version MSVCRT 2.95.2-1 included with this package), or the Cygwin compiler. It can also handle the Insight Debugger, which you can also download here. Download DEV-C free.
XCode
Apple’s own free Xcode, a full-featured C++ IDE, is a good place to start for writing C++code on a Mac. XCode is actually designed specifically for developers to write macOS, iOS, tvOS and watchOS applications using Swift or Objective-C. If you already do iOS and MacOS development, then Xcode may be your best option for C++ as well.
However, it is not widely used professionally as a C++ development system, where primarily Linux and Java-based IDEs are used. Nonetheless, it does do a good job.
XCode includes a GUI debugger, and you can change the “C++ Language Dialect”, and use lldb
You can download it for free from Apple, using your Apple ID.
CLion
This popular IDE for C/C++ developer has been created by the well-known JetBrains. It is available on other platforms as well and is a respected tool.
It contains lots of useful functions which will help your developing, such as:
- Smart editor, with good code completion
- Embedded terminal
- A lot of configuration options, to set it up how you like
- Support for various languages and standards: C++, libc++, boost, JavaScript, XML, HTML and CSS
- Keyboard shortcuts so you can work faster – eg. add class members, override/implement functions, wrap a block of code with a statements
- Well automated refactoring
- Code analysis
- CMake support
- Visual Diff and VCS integration
Qt Creator
Qt is one of the most popular libraries. You can download the open source version for free. There is also a pro version of Qt available for purchase, which offers more features.
Qt designer is one outstanding feature of Qt Creator. It is for designing and building graphical user interfaces (GUIs) from Qt widgets. This is a really great choice if you want to create a GUI for your application. You can compose and customize the widgets, then test them using different styles and resolutions directly within the editor.
Other features:
- Qt Data Visualization
- Code editor has syntax highlighting and autocompletion.
- Qt Quick Compiler
- Boot to Qt
- Qt Quick 2D Renderer
- Qt WebView
- Qt Virtual Keyboard
- Clang is supported
- Visual debugging
Eclipse
This a good open source IDE, which is also available across multiple platforms and is more industry standard. It is completely free, which also makes it an attractive option. It is very similar to Xcode, and you will need XCode and Java installed to use it.
- C/C++ development tools
- Eclipse Git team provider
- Mylyn Task List
- Remote system explorer
- A range of plugins is available. It has a good community of users, so a lot of good plugins have been developed.
However, you should be aware that you will need to set up some other things to be able to debug your code- described at StackOverflow.
Netbeans IDE
This a free multi-platform IDE. It has a lot of good features which can help you in development.
- Debugs your code, and points out errors, plus gives you hints for code optimization
- Autocomplete is very good and allows fast coding. The IDE will auto-complete your code (variable names / function references / library functions / classes / ids) wherever possible.
- Qt Toolkit support
- Remote development
- File navigation
- Compiler Configurations
Dev Cpp
Like Eclipse, Java has to be installed along with some specific C++ compilers. You may need to do a bit of fiddling to get it up and running at first.
One other drawback is that it some users have reported that it can be memory heavy and slow.
Install Linux as a Virtual Machine on your Mac
If what you need is to do some serious C++ coding on a Mac, this is one final option you should not neglect to consider. It is a slightly more complex solution, but very satisfying and having access to Linux on your system has other advantages too. If you are already comfortable working in a Linux environment, this should not be a daunting option at all, but it undoubtedly does require more work than the other solutions here.
Since most professional C++ development is done in Linux along with its suite of GNU compilers and debugger, and Java-based IDEs, this is actually a very sensible solution. This way you will be able to use all the industry standard tools.
This option involves first acquiring a Virtual Machine system for your Mac, then install your Linux operating system of choice in that Virtual Machine. Once that is setup, you can really do anything you could possibly need in C++, get as complex as needed, and debug.
The top two Virtual Machine programs to look at are Parallels Desktop and VMware Fusion. Both have been around for years and are stable and robust. We recommend trying Fedora or CentOS as your Linux installation because they are free and come with the required GNU compilers (g++) and debugger (gdb).
- Advertisement
- Small Device C Compiler suite v.20120503.7658SDCC is a free open source, retargettable, optimizing ANSI Ccompiler suite that supports a growing list of processors including theIntel 8051, Maxim 80DS390, Zilog Z80, Z180, Rabbit 2000, gbz80,Motorola 68HC08, Microchip PIC16 and PIC18 ...
- Small Portable C Compiler v.1.0SPCC is a lightweight, portable Ccompiler and a Virtual ...
- DeSmuME for Mac OS X v.0.9.7DeSmuME is written in C++, using the DirectX 8.0, OpenGL, zlib, zziplib libraries, so you need a working C++ compiler, such as Visual C++ 2005, Visual C++ 2008 or Intel compiler. It should also be possible to compile it on dev-cpp, but it's currently ...
- Blue Potato Compile v.0.01.20040518This Project will provide some documentations and softwares which will be useful for students who is learning computer sicence.I want, firstly, to provide a Ccompiler, then writen a book basis on the compiler.The book will be written in ...
- GCC toolchain for MSP430 v.20120406This is a port of the GNU CCompiler (GCC) and GNU Binutils (as, ld) for the embedded processor MSP430. Tools for debugging and download are provided (GDB, JTAG and ...
- Nwcc v.0.8.2nwcc is a Ccompiler for Unix systems targeting *BSD, OSX, Linux and Solaris on x86 (nasm/gas), FreeBSD, OSX and Linux on AMD64 (yasm/gas), Solaris on SPARC, AIX and Linux on PPC/PPC64 and IRIX on MIPS64. Cross-compilation is ...
- OpalORB - A Perl ORB v.b.0.1.6opalORB (a Perl ORB) is an implementation of the OMG CORBA ORB standard and follows the CORBA/e Micro Profile plus DSI/DII. This Perl ORB is written completely in Perl and does not require a Ccompiler, but contains interoperability tests in C++ & ...
- Axiomatic Multi-Platform C v.1.6.8AMPC is a C Integrated Development Environment (IDE) that generates Java BytecodeAMPC offers you a C Integrated Development Environment (IDE) that generates Java Bytecode. The resulting executables will be able to run on any Java Virtual Machine ...
- Code::Blocks forMac OS X v.10.05The open source, cross platform, free C++ IDE. Code::Blocks is a free C++ IDE built to meet the most demanding needs of its users. It is designed to be very extensible and fully configurable. Finally, an IDE with all the features you need, ...
- GNU Prolog for Mac OS X v.1.4.0What is GNU Prolog GNU Prolog is a free Prolog compiler with constraint solving over finite domains developed by Daniel Diaz. GNU Prolog accepts Prolog+constraint programs and produces native binaries (like gcc does from a C source). The ...
- Open Watcom v.1.9Open Watcom is a project of the open source community to maintain and enhance the Watcom C, C++, and Fortran cross compilers and tools. An Open Source license from Sybase allows free commercial and non-commercial use of Open Watcom. In a single ...
- WxWidgets for Mac OS X v.2.9.3wxWidgets is a C++ library that lets developers create applications for Windows, OS X, Linux and UNIX on 32-bit and 64-bit architectures as well as several mobile platforms including Windows Mobile, iPhone SDK and embedded GTK+. It has popular ...
- Xpdf v.3.03Xpdf is an open source viewer for Portable Document Format (PDF) files. (These are also sometimes also called 'Acrobat' files, from the name of Adobe's PDF software.) The Xpdf project also includes a PDF text extractor, PDF-to-PostScript converter, ...
- Analog for Mac OS X v.6.0.32The most popular logfile analyser in the world Analog is a program to measure the usage on your web server. It tells you which pages are most popular, which countries people are visiting from, which sites they tried to follow broken links from, ...
- Pro Fortran Compiler Suite v.9.0Pro Fortran Compiler Suite 9.0 is a program which is built for Fortran development on Macintosh. Included with the tool kit are both Fortran 95 and C/C++ compilers, a powerful IDE, industry leading Fx2A?? debugging environment, math and VAX/Unix ...
- Algol 68 Compiler, Interpreter & Runtime v.2.1.2Compiler, Interpreter & Runtime for UNESCO/IFIP's Algol68 revision 1; With: POSIX threads (Parallel& Multicore), plotutils, GSL (GNU scientific library), curses, sound, TCP sockets, RegEx & PostgreSQL; Algol68RS (UK Defense Research Agency) emits C ...
- CDL cycle language, compiler, simulator v.1.0.18Language, compiler and simulator for CDL cycle description language Platforms: OSX, Linux, Cygwin CDL is a C-like language for hardware description; simulator generates C++ models and synthesizable verilog. Includes C++ cycle simulation ...
- Macro object for C (nd edition) v.2MOC is an interesting technology that facilitate efficient object oriented programming, exception handling just in C without any additional compiler or preprocessor. The current release contains a scheme interpreter which base on ...
- On-the-Fly .NET Compiler v.1.0On-the-Fly .NET Compiler - tool or library for compilation CLR language in real time, also in memory, and following execution. This can be used for desktop and web scripting, remote compilation, etc. It's free, written on C# and ...
- The ASN.1 Compiler v.0.9.21This ASN.1 compiler turns ASN.1 specifications into C code. The asn1c is shipped together with conformant BER/DER/XER/PER codecs. The X.509, GSM TAP3, MEGACO, RRC and LDAP encoding and decoding examples are part of the source code ...
Download Dev Cpp 5.11
C Compiler software by TitlePopularityFreewareLinuxMac
Dev Cpp Portable
Today's Top Ten Downloads for C Compiler
- HS NTP C Source Library HS NTP is a software library in C (supplied with full
- C-MOR IP Video Surveillance VM Software C -MOR Video Surveillance VM is a Virtual Machine software
- Xpdf Xpdf is an open source viewer for Portable Document Format
- HS MSG C/C++ Messaging Library HS MSG is a C/C++ messaging library (message oriented
- Code::Blocks forMac OS X The open source, cross platform, free C ++ IDE.
- WxWidgets for Mac OS X wxWidgets is a C ++ library that lets developers create
- HsAudio C Source Library HsAudio C Source Library is an audio software library
- Pro Fortran Compiler Suite Pro Fortran Compiler Suite 9.0 is a program which is built
- Open Watcom Open Watcom is a project of the open source community to
- C++ XML Objects Framework for persisting heirarchies of C ++ objects to and