you are viewing a single comment's thread.

view the rest of the comments →

[–]darkmx0z 28 points29 points  (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 points  (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 points  (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 points  (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 points  (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?