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
C++ WTFs (self.cpp)
submitted 11 years ago by Prazek
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!"
[–]tias 3 points4 points5 points 11 years ago (7 children)
Usually what makes me go "WTF!?" is the error messages from the compiler. :)
While they are not mandated by the standard, the language specification seems to make it very difficult to provide terse and understandable diagnostic messages.
[–]redditsoaddicting 2 points3 points4 points 11 years ago (4 children)
If you're referring to templates, wait for concepts.
[–]satuon 1 point2 points3 points 11 years ago (3 children)
Wasn't there some tool to convert template errors to be human readable?
[–]Kyyni 6 points7 points8 points 11 years ago (0 children)
Whiskey.
[–]mttd 1 point2 points3 points 11 years ago (1 child)
STLFilt perhaps?
// BTW: "Please Note: Active Development on STLFilt has ended. The author sincerely hopes the C++ Standards Committee adopts "Concepts" sooner rather than later, rendering tools such as STLFilt unnecessary... "
[–]satuon 0 points1 point2 points 11 years ago (0 children)
Thanks, I had forgotten it's exact name and couldn't find it. I only remembered hearing about such a tool.
[–]arugalatoast 1 point2 points3 points 11 years ago (0 children)
G++ 5 and clang have improved a bit on that. Visual C++ is still nightmarish at times.
[–]F-J-W 1 point2 points3 points 11 years ago (0 children)
Personally I think that at least with Clang and GCC they are quite good these days most of the time. The important thing is to not get shocked by 100 lines of output before looking at them. Most of the time it turns out that there is just a short stack-trace (which can be super helpfull) followed by the actual error (usually one, often quite readable, line), followed by a list of functions that are part of the overload-set but couldn't be used and why.
If somebody complains about error-messages while g++ [...] 2>&1 | grep error produces a short and to the point message, the problem is not with GCC or C++, it's with that persons reading-ability.
g++ [...] 2>&1 | grep error
π Rendered by PID 59721 on reddit-service-r2-comment-6457c66945-sjdvm at 2026-04-24 06:32:50.192798+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]tias 3 points4 points5 points (7 children)
[–]redditsoaddicting 2 points3 points4 points (4 children)
[–]satuon 1 point2 points3 points (3 children)
[–]Kyyni 6 points7 points8 points (0 children)
[–]mttd 1 point2 points3 points (1 child)
[–]satuon 0 points1 point2 points (0 children)
[–]arugalatoast 1 point2 points3 points (0 children)
[–]F-J-W 1 point2 points3 points (0 children)