Sublime Forum

Setting Sublime Text 3 up for C++ developement


Hi there! I’d like to set up Sublime Text 3 for C++ programming. I study C++ at school, and I need to check my homework through my PC. For now, I have only installed Sublime Text 3 (unregistered) and Package Control. I’d like to show me some steps how do I do that? Do I need to instal MinGW compiler or, I don’t know. Thanks a lot!


Sublime Text versus Visual Studio Code in 2019

I’m a professional C++ developer using Sublime and I’m gonna tell you that you should get Visual Studio community edition if you’re just starting out on Windows.

Alternatively you could try VSCode with the C++ extension.

There’s so many variables for setting up a well-behaved toolchain and any number of those variables could screw up your experience. Take the easy road.



And for VisualStudio, do I need another compiler or does it come with its own compiler? I mean, do I need to setup any of option?



It comes with its own compiler called cl.exe.



I guess even VSCode requires the Microsoft Built Tools to be installed in order to compile. The only advantage of VSCode compared to ST is the better debugging interface, which already makes use of Microsofts Debugger for Windows. The rest is pretty much the same.

In the end I agree with rwols. Get VisualStudio Community Edition. It provides everything you need for C/C++ developement out of the box and is the best supported solution on Windows.



I’ll try Microsoft Visual Studii. Thanks a lot.