5 Ways to Write C++ Code on Your Mac


| Analysis

5. Microsoft Visual Studio for Mac

Not long ago, Microsoft released Visual Studio for the Mac. We don’t know a lot about this solution except that one can certainly use it to learn and write C++ code. There is a free version of Visual Studio for students and non-commercial developers.

MS Visual Studio

MS Visual Studio. Image credit: Microsoft.

If your goal is to learn C++ as a student, this solution will certainly work as well as Xcode, and it’s free. You can even build full-featured macOS, iOS and Android apps with it down the road as your expertise develops. Plus, it has its own debugger. From Microsoft:

With Xamarin’s advanced debugging, profiling tools, unit tests, and UI test generation features, it’s faster and easier than ever for you to build, connect, and tune native mobile apps for Android, iOS, and macOS.

Hats off to Microsoft for creating this tool.

Next: Final Words

4 Comments Add a comment

  1. beachcomber

    Qt Creator IDE was written by C/C++ programmers for C/C++ programming.
    Wikipedia: Qt Creator
    Qt Creator

    Dual license: Free & Open Source and Commercial.
    Qt Downloads

    Plain vanilla C/C++ code can be written without using the Qt Cross Platform Framework libraries. (Yet, with Qt Framework, one can also write C/C++ apps for iOS and Android on macOS.)

    For me, Qt Creator has been an nice replacement for Lightspeed C (aka THINK C). 😉

  2. leeeoooooo

    OF COURSE you can use Xcode to code and compile C++. That’s how the engineers at Apple do it!

    Chris Lattner and his compiler team were well known to be big fans of C++.

    Many of the low-level libraries in OS X, especially audio and I/O are written in C and C++.

    They discourage third party application programmers from using it because of all the sharp edges and dangerous curves, but they use it plenty themselves.

Add a Comment

Log in to comment (TMO, Twitter, Facebook) or Register for a TMO Account