hijacking: What is a good reference to learn the minimal amount of C++ to do codewars/leetcode, write minor programs?
Would prefer something that keeps with modern C++ if possible.
Would prefer something that keeps with modern C++ if possible.
EDIT: Reading the page again, it looks like the book does have some discussion of C++17 and C++20 features, but I focused on the first few chapters which really nail down the whole copy and move semantics feature as well as operator overloading.
That said, C++ Primer by Lippman, Lajoie, Moo is a good book for beginners. I think the latest edition covers upto C++11. You can then followup with Modern C++ Cookbook by Marius Bancila for newer features upto C++20.
If you can already code you'll pick it up in seconds.