Hi everyone, here is a list of websites that I use for C++:
- https://godbolt.org/: compiler explorer, allows you to quickly test code and see the disassembly, integrates many libraries and tools (PVS, clang-tidy, …). It can even do CMake projects with multiple files!
- https://en.cppreference.com/w/Main_Page: The C++ reference.
- https://cppinsights.io/: see what the compiler does for you behind the scene.
- https://quick-bench.com/: make quick comparison/benchmark
What are you all using? Post your comments :)
Same as yours +
- https://wandbox.org : an alternative to God bolt, when just needing to quickly test something (no need for the disassembly and multiple options of godbolt)
- https://regex101.com/ : not specifically for c++ but useful as well
Some great blogs too:
- https://www.fluentcpp.com/ : unfortunately not maintained anymore but many great articles mainly on readability
- https://www.cppstories.com/p/start-here/
- https://www.modernescpp.com/index.php
- https://arne-mertz.de/ : simplify c++
One must see YouTube video: https://youtu.be/2olsGf6JIkU
Perhaps some others I’ll look tomorrow on my work computer.
Nice ones, for regex I also use https://regexr.com/ but regex101 is great too
Yeah, lots of interesting talk freely available: CppCon videos, ACCU, C++Weekly
also some git repo:
- awesome cpp lists: https://github.com/fffaraz/awesome-cpp
- awesome modern cpp: https://github.com/rigtorp/awesome-modern-cpp
- awesome CMake: https://github.com/onqtam/awesome-cmake
- list of C++ features: https://github.com/AnthonyCalandra/modern-cpp-features
- isocpp core guidelines: https://github.com/isocpp/CppCoreGuidelines
The https://hackingcpp.com/cpp/cheat_sheets.html cheat sheets for std::algorithms and containers always save me a lot of time.
To plug shamelessly:
- https://github.com/jeaye/stdman - cppreference docs as man pages
- https://raw.githubusercontent.com/jeaye/value-category-cheatsheet/master/value-category-cheatsheet.pdf - A cheat sheet on C++14 value categories and common mistakes
One more I forgot is https://cppinsights.io : this online tool takes C++ code and output C++ code, the goal being to make the “magic” of the compiler visible (for example for(auto vi : std::vector…) is expended to iterators and the tool make it visible). It can help sometime when struggling with a difficult to understand issue.
I wish cppreference had better search. I usually end up using it through google/ddg to find what I really need. For example, searching chunk_view gives no results.