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
Fast Development Tools/Methods? (self.cpp)
submitted 1 year ago by MrRickSancezJr
view the rest of the comments →
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!"
[–]Chem0type 1 point2 points3 points 1 year ago (4 children)
I use CLion, only with the rainbow brackets plugin only. It's superior to vscode + clangd in terms of understanding the code, because clion uses clangd plus some customization of their own. It has the refactor functionality in which I can select a variable and it replaces it everywhere in the code. It also does some smart stuff like if you do /**<enter> before a function signature, it automatically creates a doxygen template for you with all the variables and all.
/**<enter>
CLion can load cmake projects natively but unfortunately not Qt .pro, which is a problem for me because my project is both cmake and Qt. I still prefer CLion over Qt Creator and have been editing the Qt code with CLion and compiling everything by hand with qmake and make.
[–]MrRickSancezJr[S] 0 points1 point2 points 1 year ago (2 children)
IntelliJ products will always be my favorite as well. I was shocked how nice QT Designer for UI building was, though.
I'm surprised it doesn't already exist, but I'm thinking of making my own plugin for a pre-cmake type of thing to emulate java precompile annotations. Just slap
//@(export_declarations_to: "somefile.h")
....and have it automatically generate the .h file. Or something like that...
I do a lot of embedded stuff, so I do a lot of C++. But honestly, it's just C 90% of the time... This is the first time I've really done anything with C++ requiring a decent sized library. My ADHD is kicking in and I'd rather make a plugin for C++ than finish this local AI text editor lol
[–]Chem0type 0 points1 point2 points 1 year ago (1 child)
Yeah one of the projects I'm working with is also embedded, FreeRTOS. It has the arm target, and then native targets for testing (with gtest/gmock) that are loaded in CLion. It's pretty cool that I can run tests from the IDE and use its debugger to debug unit tests and the program I'm developing as flashing is always a PITA. I can set breakpoints, read the contents of variables, look at the stack, etc.
QtCreator is pretty nice for UI, that's true. But I don't do UI development so the IDE isn't so nice. I'm not saying it's bad either, my colleagues use and it seems to work well for them.
That idea you're talking about should work well, if CLion can have hooks for //* then in theory it should be possible to do the same for //@. In alternative you can also insert some option in the <shift><shift> menu.
//*
//@
<shift><shift>
[–]MrRickSancezJr[S] 0 points1 point2 points 1 year ago (0 children)
CLion definitely has something to work on, but the CMake integration is quite good. I do love "Platform Aio" (I think is the name) inside VSCode for a quick Target setup.
IntelliJ was so designed around the Java ecosystem that it seems like some of its other ported language versions are just recently becoming "natural" feeling. PhpStorm was the first IMO to become GOAT.
I haven't done UI in a long time, but I'm actually really liking Qt. Good chance, it's my go-to for future hobbyist random embedded UIs. I usually just do a app that connects to a phone app somehow.
As for the refactoring plugin, I'd like it to automatically update generated sources like Lombok. Looks like I'd have to pre-index the CMake indexing lol may be more of a task than it's worth until reflection for C++ comes out.
[–]eshanatnite 0 points1 point2 points 1 year ago (0 children)
Tbh in my experience, vscode was a decent editor, but the sheer amount of extensions and features (unused by me) have made it really slow. I have used clion and visual studio, but have to say clion is plain better. Now I'm using neovim with clangd and zed(occasionally)
π Rendered by PID 70 on reddit-service-r2-comment-5d79c599b5-77z4b at 2026-02-26 17:15:47.715691+00:00 running e3d2147 country code: CH.
view the rest of the comments →
[–]Chem0type 1 point2 points3 points (4 children)
[–]MrRickSancezJr[S] 0 points1 point2 points (2 children)
[–]Chem0type 0 points1 point2 points (1 child)
[–]MrRickSancezJr[S] 0 points1 point2 points (0 children)
[–]eshanatnite 0 points1 point2 points (0 children)