DEV Community

Cover image for 8 Best C++ IDEs to use in 2023
Maria 🍦 Marshmallow
Maria 🍦 Marshmallow

Posted on • Edited on

8 Best C++ IDEs to use in 2023

Today’s post is devoted to 8 popular C++ programming environments. Many of them also support other languages.

Contents

  • Microsoft Visual Studio
  • NetBeans
  • CodeLite
  • Sublime Text
  • Code::Blocks
  • QT Creator
  • Eclipse CDT
  • CLion

1. Microsoft Visual Studio

With the help of Visual Studio, an integrated C++ development environment, you can create both console and graphical apps, including those that use Windows Forms. It is also suitable for creating websites, web applications and web services for all supported platforms: Windows, Windows Mobile, Windows CE, .NET Framework, Xbox, Windows Phone, .NET Compact Framework and Silverlight.

Pros:

  • A free version of Visual Studio Community is available.
  • Built-in command line interface.
  • API for connecting additional debugging tools.
  • A complete set of developer tools for creating and cloning Git repositories, managing branches, and resolving merge conflicts right within the C++ IDE.
  • A large set of add-ons to expand the basic functionality.

Cons:

  • High hardware requirements.
  • No Linux version.
  • High prices for paid Professional and Enterprise versions (starting from $45 per month).

Official website: https://visualstudio.microsoft.com/

2. NetBeans

NetBeans is a free IDE which allows you to create applications in Java, Python, PHP, JavaScript, C, C++ and other programming languages. This C++ IDE is distributable for Microsoft Windows, Linux, FreeBSD, macOS, OpenSolaris and Solaris platforms. You can create your own copy of NetBeans from the source code for all other platforms.

Pros:

  • Free C++ Integrated Development Environment.
  • Cross-platform support.
  • A large selection of plugins.
  • Code completion, refactoring tools.
  • Developers community.

Cons:

  • Own cache issues when creating final programs.
  • Installation requires the JDK.
  • Slow start up.

Official link for downloading: https://netbeans.apache.org/download/index.html

3. CodeLite

CodeLite is also free and runs on many operating systems: Windows 7/8/8.1/10, Debian, Ubuntu, Fedora, OpenSUSE, ArchLinux and macOS. It's a great option for beginners because of its straightforward and user-friendly interface. It should be mentioned that the most recent versions of this C++ IDE now support projects for Node.js and PHP.

Pros:

  • A powerful code completion tool based on its own parser.
  • Plugins for working with Git and SVN.
  • Built-in debugger.

Cons:

  • Complex interface

Official website: https://codelite.org

4. Sublime Text

Sublime Text is a proprietary text editor written in C++ and Python, developed in 2008. This code editor has a large community, so there is no problem finding add-ons and tutorials.

Pros:

  • Can be used for free.
  • Does not make high demands on hardware.
  • Built-in support for several dozen programming languages.
  • Auto-completion and syntax highlighting in a code editor.
  • A large selection of plugins written in Python.

Cons:

  • As a debugging tool, it’s not as good as Visual Studio and other IDEs.
  • No autosave files.
  • Constantly offers to buy a paid version.

Official website: https://www.sublimetext.com

5. Code::Blocks

Another great free development environment is Code::Blocks. It allows users to write code not only in C/C ++, but also provides support for such programming languages as Fortran and D (with some restrictions). The developer toolkit has the ability to be extended by installing plugins. This C++ programming environment has versions for Windows, macOS and Linux, but it is possible to install it on any Unix-like system using the source code.

Pros:

  • Free C++ development environment.
  • Code completion.
  • Built-in debugger.
  • A large selection of plugins to expand functionality.

Cons:

  • Not suitable for developing large projects.

Official website: https://www.codeblocks.org

6. QT Creator

Qt Creator is a C++ IDE available on Windows, Linux and macOS. It provides a free version that is valid for one month and offers a complete set of developer tools for building and deploying applications.

Pros:

  • Supports debugging, profiling, code completion and refactoring.
  • Ability to compile projects for different operating systems.

Cons:

  • Large app size.
  • Code completion doesn't always work.
  • The paid version is quite pricey.
  • Registration is required to download the free version.

Official website: https://www.qt.io/?hsLang=en

7. Eclipse CDT

Eclipse is a free IDE for developing modular cross-platform applications that has become very popular among Java developers. In this post, we will look at the Eclipse CDT (C/C++ Development Tooling) release. This environment is an excellent choice, since Eclipse CDT not only has all the necessary tools, but is also free and runs on various operating systems: Windows/Linux/macOS.

Pros:

  • Free to use.
  • Auto-completion and other features that help you write code faster.
  • A large set of plugins to extend functionality.
  • Well-developed community, detailed documentation.
  • Built-in unit testing, test optimization.
  • Customizable GUI.

Cons:

  • Slow start up, high memory consumption.
  • Backward compatibility issues.
  • Possible plugin conflicts.

Official link for downloading: https://github.com/eclipse-cdt/

8. CLion

The last IDE on my list is a cross-platform C++ programming environment from JetBrains called CLion. It includes modern C++, libc++ and Boost standards, and also supports other programming languages – Kotlin, Python, Rust, etc. by using plugins.

Pros:

  • User-friendly mechanisms for debugging applications.
  • Code completion.
  • VIM support.

Cons:

  • No free version – only a 30-day demo.
  • There is no built-in compiler.
  • There may be problems installing the compiler.

Official link for downloading: https://www.jetbrains.com/clion/download/#section=windows

Conclusion

Choosing the right IDE for you is no easy task. I hope this list of the best C++ IDEs has provided insight into the various options available.
While I’ve featured the major contenders and explored their feature sets, nothing will replace hands-on use. I recommend giving your favorites from this list a try with an actual project to see which works best for you.
Leave a comment below which IDE you liked the most and describe your experience!

That, in fact, is all that has accumulated at the moment. I hope you find my observations interesting and they will help someone.

Do you think I missed something important? Feel free to leave any questions, comments, or suggestions.

Btw, you can support my work by buying me a coffee! I'll leave here a few links for you:)

Buy Me a Coffee at ko-fi.com

You can also support me on Coinbase

Latest comments (39)

Collapse
 
fume5678 profile image
Nikita Selyavin

VS Code + clangd extension is very nice as for me. Also it provides helpful inline hints

Collapse
 
mariamarsh profile image
Maria 🍦 Marshmallow

Great suggestion, Nikita 👍🏻

Collapse
 
lightbluewind profile image
lightbluewind

The ultimate free C++ course: youtube.com/playlist?list=PLtYx79a...

Collapse
 
mariamarsh profile image
Maria 🍦 Marshmallow

Thanks for sharing!

Collapse
 
dxcqcv profile image
Roy

What's about neovim?

Collapse
 
mariamarsh profile image
Maria 🍦 Marshmallow

I believe that Neovim can be configured to work as an IDE with the help of plugins, but it is not a default setting for it. Mostly it is used just as a text editor.

Collapse
 
capati profile image
Rafael Henrique Capati

There is "10x Editor", a new high performance C++ editor.

Collapse
 
mariamarsh profile image
Maria 🍦 Marshmallow

I'm not familiar with this editor, but thanks for sharing!

Collapse
 
headsink profile image
headsink #KultusRakyat 🇮🇩🇲🇾🇧🇳🇹🇭🇵🇭🇬🇧

Why no VS Code in those list? VS Code capable of C++ too.

Collapse
 
mariamarsh profile image
Maria 🍦 Marshmallow

As I mentioned above, the list I've provided is not exhaustive. While VS Code can be used to write and edit code in C++, it does not have the same level of built-in functionality and features as a dedicated C++ IDE. However, it can be extended with plugins and extensions to add those features.

Collapse
 
devking profile image
DEV King

How come Sublime is an IDE? It's a code editor at best.

Collapse
 
mariamarsh profile image
Maria 🍦 Marshmallow

Sublime Text is considered by many to be a code editor rather than a full-featured IDE. That being said, some developers may use Sublime Text with additional plugins and external tools to make it function as an IDE for their development needs. The term IDE is often used in a broad sense, and different people may have different definitions of what constitutes an IDE.

Collapse
 
developman profile image
Dmitry Mineev

I surprised why JetBrains IDE wasn’t included in the list. I didn’t use it for C++ coding but I use for other languages (ruby, python, PHP, JS) and I’d say it’s the best product.
And I don’t see VSCode in the list. It’s free, but with some plugins it could be better than some paid products.

Collapse
 
mariamarsh profile image
Maria 🍦 Marshmallow

The list I provided is not exhaustive and there are many other excellent IDEs available, including JetBrains IDEs and VSCode. Maybe in my next list I can mention those two IDEs ☺️

Collapse
 
tythos profile image
Brian Kirkpatrick

...Yeah. This. The addon environments are great and with cmake you can easily extend to any build target you want. LLVM on Windows? Bam! The days of monolithic C-family IDEs are well in our rear-view mirror, and that's a good thing.

Collapse
 
mrdanishsaleem profile image
Danish Saleem

Great list of IDEs for C++ 🚀

Here's one I personally prefer: DevC++

You can download it from here: bloodshed.net/

Collapse
 
mariamarsh profile image
Maria 🍦 Marshmallow

Thanks for mentioning this IDE, I've never used it 👍🏻

Collapse
 
mrdanishsaleem profile image
Danish Saleem

Give it a try then😁

Collapse
 
aneshodza profile image
anes

For the more advanced coders: Vim is great and improves development speed. Has a very steep learning curve but learning it pays dividends.
If you want to get into it but don't know where to start: JetBrains IDEs and VSCode both have a very good vim plugin to get you started without having to completely switch

Collapse
 
mariamarsh profile image
Maria 🍦 Marshmallow

I agree with you on that matter, I personally like in Vim that there are tutorials and resources available online to help you getting started with Vim, such as Vim tutorials, Vimcasts, and Vim Adventures.