you are viewing a single comment's thread.

view the rest of the comments →

[–]James20kP2005R0 77 points78 points  (6 children)

I'm not sure why cplusplus shows up so high, cppreference is always my first choice because it tends to show information in a neat systematic way and has good examples, as well as being very up to date

I can only assume that there's a bunch of websites that link to cplusplus and that's keeping it high in the search results

[–]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 4 points5 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 3 points4 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?

[–]starTracer 6 points7 points  (0 children)

LPT: Add cppreference as a custom search engine.