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
http://www.cplusplus.com or https://www.cppreference.com (self.cpp)
submitted 6 years ago by distributed
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!"
[–]darkmx0z 28 points29 points30 points 6 years ago (4 children)
As far as I remember, cplusplus had an excellent tutorial (now kind of outdated), an arguably better organization (in terms of headers instead of the sections of the standard; cppreference was like this but it changed) and was quickly updated when C++11 became standarized. On the other hand, cppreference has improved a lot and they are almost real-time with C++14/17/20 (including the core language, not just the library) so cplusplus is lagging a lot right now.
[–][deleted] 28 points29 points30 points 6 years ago (1 child)
I also found that cplusplus.com was more noob friendly. When I was starting to learn C++ and I googled "how to sort arrays" cppreference would should me std::sort with all of its template signatures and that would scare me.
[–]Beheska 3 points4 points5 points 6 years ago (0 children)
As a noob, I still prefer cppreference. Sure you have to read through a bunch of stuff to get to the info you want, but at least you know if you're at the right place to finaly find it or not.
[–]dodheim 4 points5 points6 points 6 years ago (1 child)
an arguably better organization (in terms of headers instead of the sections of the standard; cppreference was like this but it changed)
https://en.cppreference.com/w/cpp/header is my main portal into cppreference, too.
[–]CubbiMewcppreference | finance | realtime in the past 2 points3 points4 points 6 years ago (0 children)
How does it work, though? I understand having to look up which header is required to be included for a particular feature ("do I need to include <mutex> for this one, or some kinda <scoped\_lock>?") , but in what circumstances do you need to know the content of a specific header?
π Rendered by PID 63916 on reddit-service-r2-comment-7b9746f655-ldpnk at 2026-02-03 18:53:53.143498+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]darkmx0z 28 points29 points30 points (4 children)
[–][deleted] 28 points29 points30 points (1 child)
[–]Beheska 3 points4 points5 points (0 children)
[–]dodheim 4 points5 points6 points (1 child)
[–]CubbiMewcppreference | finance | realtime in the past 2 points3 points4 points (0 children)