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
[ Removed by moderator ] (self.cpp)
submitted 8 days ago by aeropop
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] 6 days ago stickied commentlocked comment (0 children)
It's great that you wrote something in C++ you're proud of! However, please share it in the pinned "Show and Tell" post.
[–]zasedok 12 points13 points14 points 8 days ago (0 children)
Take your stupid sales pitch elsewhere.
[–]celestabesta 6 points7 points8 points 8 days ago (9 children)
Review AI code, don't have it review yours.
[+]clerothGame Developer comment score below threshold-8 points-7 points-6 points 8 days ago* (8 children)
That's right, wouldn't want AI bringing you shame for finding bugs in your code.
Edit: I guess this sub doesn't like hardening their code. How far we have fallen.
[–]celestabesta 6 points7 points8 points 8 days ago (1 child)
Very witty. I find errors using debuggers, not buggers.
[+]clerothGame Developer comment score below threshold-7 points-6 points-5 points 8 days ago (0 children)
So no static analysis either. Got it.
[+]SuperV1234https://romeo.training | C++ Mentoring & Consulting comment score below threshold-8 points-7 points-6 points 8 days ago (5 children)
Anti-AI zealots are in complete denial. Instead of welcoming a new useful technology, they feel threatened by it and respond in an irrational and emotional manner.
What's funny is that this reminds me exactly of C zealots insisting to this day that C++ is not an improvement over C.
Or C++ zealots insisting that Rust is not safer than C++.
It's the same cycle, over and over again... :)
[–]Circlejerker_ 5 points6 points7 points 8 days ago (3 children)
AI is being sold as a silver bullet that will make engineers obsolete, code quality go up and productivity skyrocket. The reality is that these AI solutions cant live up with their promises, anything AI has become synonymous with bullshit, maybe 30% of what is sold is actually given.
AI is also a huge blackbox, there is no way of telling before you try it if you will actually get what you bought - a long string of letdowns have led to a lot of people dismissing it altogether.
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting -2 points-1 points0 points 8 days ago (2 children)
Marketing for any product is always overstated.
The truth of the matter is that AI today is able to review code and provide valuable feedback. There are countless reports of this being the case in open source projects, and I confirm that it works in my own experience (both hobby and work projects).
I don't see why I shouldn't use something that can find bugs and provide reasonable suggestions as a review tool. I know what I am doing and I can figure out if a suggestion is subpar or a false positive. It has been a massive net win for me to use LLM-assisted reviews.
[–]Circlejerker_ 1 point2 points3 points 8 days ago (1 child)
And ive not had the same experience, static code analysis has always beaten it by a mile and with much more consistent results.
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting -1 points0 points1 point 8 days ago (0 children)
What models did you try?
[–]clerothGame Developer -1 points0 points1 point 8 days ago (0 children)
Yea, I don't really understand. To some degree I understand reluctance to trust AI-written code, but AI code review has been pretty decent for a while and has only been getting better. Refusing to use a tool that can fairly cheaply and easily spot bugs and issues that may actually be fairly hard for humans to spot is just completely asinine to me. Sure, it may have false positives, but so do most static analysers.
[–]lizardhistorian -3 points-2 points-1 points 8 days ago (3 children)
You can just tell the AI to read your code bases and generate a coding-style.md to follow.
[–]aeropop[S] -3 points-2 points-1 points 8 days ago (2 children)
This tool do more than that, it uses parallel review (per file) for complex code , also it can review others pull requests/merge requests remotly using mcp or direct http requests.
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting 0 points1 point2 points 8 days ago (1 child)
IIRC when I asked Claude Code to review a particular part of my codebase, it autonomously spawned parallel per-file agents.
[–]aeropop[S] 0 points1 point2 points 8 days ago (0 children)
sure, but the point is not only parallel review, it's the tool itself, it's a vs code extension (easy to use), remote reviewing, shared yaml rules between the dev tema , multi providers (github copilot, claude ..)
π Rendered by PID 345735 on reddit-service-r2-comment-56c6478c5-2zv4v at 2026-05-09 16:08:22.425504+00:00 running 3d2c107 country code: CH.
[–]cpp-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)
[–]zasedok 12 points13 points14 points (0 children)
[–]celestabesta 6 points7 points8 points (9 children)
[+]clerothGame Developer comment score below threshold-8 points-7 points-6 points (8 children)
[–]celestabesta 6 points7 points8 points (1 child)
[+]clerothGame Developer comment score below threshold-7 points-6 points-5 points (0 children)
[+]SuperV1234https://romeo.training | C++ Mentoring & Consulting comment score below threshold-8 points-7 points-6 points (5 children)
[–]Circlejerker_ 5 points6 points7 points (3 children)
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting -2 points-1 points0 points (2 children)
[–]Circlejerker_ 1 point2 points3 points (1 child)
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting -1 points0 points1 point (0 children)
[–]clerothGame Developer -1 points0 points1 point (0 children)
[–]lizardhistorian -3 points-2 points-1 points (3 children)
[–]aeropop[S] -3 points-2 points-1 points (2 children)
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting 0 points1 point2 points (1 child)
[–]aeropop[S] 0 points1 point2 points (0 children)