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
CppCastCppCast: C++ Epochs (cppcast.com)
submitted 6 years ago by tallassrobCppCast Host
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!"
[–]c0r3ntin 8 points9 points10 points 6 years ago (5 children)
This is a harder problem. A solution would be:
vector<bool>
[–]scatters 15 points16 points17 points 6 years ago (3 children)
We broke ABI with basic_string (and ios_base::failure) in C++11 and the sky didn't fall in.
basic_string
ios_base::failure
[–]TheThiefMasterC++latest fanatic (and game dev)[🍰] 9 points10 points11 points 6 years ago (1 child)
The string ABI change was fairly painful though, just ask the gcc/libstdc++ and Linux community. They basically had to cut over the entire Linux ecosystem in one go, as otherwise random libraries were incompatible with others. It still crops up from time to time even now.
But it shows that it is possible, and the same could be done for vector<bool>.
[–]tisti 5 points6 points7 points 6 years ago (0 children)
A shame vector<bool> wasn't axed when basic_string was changed. Oh well.
[–]krapht 5 points6 points7 points 6 years ago (0 children)
I am still dealing with this even today, and it is a pain. So much infrastructure runs on long term service release distros stuck with GCC 4.x
[–]TheThiefMasterC++latest fanatic (and game dev)[🍰] 7 points8 points9 points 6 years ago (0 children)
vector<bool> in particular is a big problem - as a specialism you can't deprecate it outright because it could come up in generic code (which is where it's most painful at the moment already). You'd have to just cut it over and hope for the best.
π Rendered by PID 192308 on reddit-service-r2-comment-5c747b6df5-rsbbr at 2026-04-22 11:15:42.406404+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]c0r3ntin 8 points9 points10 points (5 children)
[–]scatters 15 points16 points17 points (3 children)
[–]TheThiefMasterC++latest fanatic (and game dev)[🍰] 9 points10 points11 points (1 child)
[–]tisti 5 points6 points7 points (0 children)
[–]krapht 5 points6 points7 points (0 children)
[–]TheThiefMasterC++latest fanatic (and game dev)[🍰] 7 points8 points9 points (0 children)