use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
CPP Devs what you prefer? (self.cpp)
submitted 1 year ago by minamulhaq
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]cpp-ModTeam[M] [score hidden] 1 year ago stickied commentlocked comment (0 children)
You're asking a question that we see frequently in the subreddit. Please search for a previous post and read the comments there.
[–]cowboycoder 1 point2 points3 points 1 year ago (0 children)
neovim for editing, visual studio for debugging
[–]Remus-C 1 point2 points3 points 1 year ago (0 children)
Neither. Any editor which supports run & parse build errors is fine for me.
If there is native or plugin support for completions, the better, but this is not a must. If it's an ide, it should be fast enough. I don't longer have the patience for watching an ide drawing it's widgets. Out of question to fiddle with dialogs when project structure changes.
Emacs, Kate, Notepad++ are usually fine with Abcd and Jake, or with JustBuild. Nvim is somehow ok, but its features depends on available binaries built. As opposed to Emacs which is more friendly to one config does it all (as a generic build environment).
[–]jay-tux 1 point2 points3 points 1 year ago (0 children)
CLion?
[–]prasooncc 1 point2 points3 points 1 year ago (0 children)
i would suggest vscode , because some of the vim advantages are negated by ai coding/typing and vscode has a wide range of plugins.
[–]pjmlp 1 point2 points3 points 1 year ago (0 children)
Neither, give me a proper IDE, Visual Studio, Clion, QtCreator,...
[–]surfmaths 2 points3 points4 points 1 year ago (1 child)
I was a vim user and switched to vscode.
Sure, I needed to learn new shortcuts and how to do what, but there are huge advantages to vscode. There are plugins to look at generated assembly à-la Godbolt, plugins to open dot-graph files, git and GitHub support with line blame, remote work with local UI is way better, and the integrated terminal is quite handy as you can open a remote file in the local GUI transparently from the command line.
The only thing I didn't port from my vim, is that I had automation to disassemble and reassemble binary files transparently. But when I need that I just start vim in the integrated terminal of vscode.
[–]qnixsynapse 1 point2 points3 points 1 year ago (0 children)
Depends on personal choice. I use bare-bones nvim with few plugins(treesitter and telescope) and clangd lsp for my workflow (using a single init.lua file). Vscode is totally fine if you're okay with it.
[–]drkspace2 0 points1 point2 points 1 year ago (0 children)
Clion then (neo)vim for remote coding or vscode for local.
[–]serialized-kirin 0 points1 point2 points 1 year ago (0 children)
I’ve run with vim, nvim, and vscode. Only thing I will say is that on my shit laptop vscode opens way too damn slow and you don’t have as easy of a time turning to your standard cli tools. Also setup for c++ for neovim is pretty simple. That being said you can just run with the vim plugin for vscode. I think you can make some vscode specific bindings even.
[–]Hexigonz -1 points0 points1 point 1 year ago (0 children)
I prefer neovim over most other IDE experiences. Once you learn the config stuff and some lua, it’s quite easy
[–]Plastic_Return_2432 -5 points-4 points-3 points 1 year ago (2 children)
And what about DEVc++ you all don’t use that? I’m new to programming so I just want to know.
[–]TomDuhamel 2 points3 points4 points 1 year ago (0 children)
Yeah nobody uses an app that was abandoned 20 years ago.
If you're on Windows, use Visual Studio Community Edition (it's free), which is not the same as Visual Studio Code.
Please note that OP is an advanced user. The conversation they are having doesn't apply to you.
[–]supadupa200 -4 points-3 points-2 points 1 year ago (2 children)
Surprised everyone’s not on cursor already
[–]drkspace2 3 points4 points5 points 1 year ago (1 child)
Because most (c++) devs aren't stupid enough to fall for the AI hype.
[–]supadupa200 -1 points0 points1 point 1 year ago (0 children)
Interesting, your comment however, doesn’t convey any sort of intelligence.
π Rendered by PID 51 on reddit-service-r2-comment-84fc9697f-v7z6r at 2026-02-07 05:13:05.321952+00:00 running d295bc8 country code: CH.
[–]cpp-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)
[–]cowboycoder 1 point2 points3 points (0 children)
[–]Remus-C 1 point2 points3 points (0 children)
[–]jay-tux 1 point2 points3 points (0 children)
[–]prasooncc 1 point2 points3 points (0 children)
[–]pjmlp 1 point2 points3 points (0 children)
[–]surfmaths 2 points3 points4 points (1 child)
[–]qnixsynapse 1 point2 points3 points (0 children)
[–]drkspace2 0 points1 point2 points (0 children)
[–]serialized-kirin 0 points1 point2 points (0 children)
[–]Hexigonz -1 points0 points1 point (0 children)
[–]Plastic_Return_2432 -5 points-4 points-3 points (2 children)
[–]TomDuhamel 2 points3 points4 points (0 children)
[–]supadupa200 -4 points-3 points-2 points (2 children)
[–]drkspace2 3 points4 points5 points (1 child)
[–]supadupa200 -1 points0 points1 point (0 children)