3 ms·
Can anyone recommend a book on modern C++?
by bnejad 12y ago
Can anyone recommend a book on modern C++?
- ibebrett 12y agoYeah, this would be a god send. As someone who is writing more and more C++ for computer vision type stuff, a modern overview would be great. I am stuck working off of things I learned over the years and don't feel quite like I'm writing modern idiomatic C++
- SupremumLimit 12y agoIf you just want to learn about the features introduced in C++11/14, I wrote compiler-specific books about those: http://cpprocks.com http://cpprocks.com
- dfan 12y agoScott Meyers' Effective Modern C++ will be required reading once it's released in October. Until then (and even after), Stroustrup's The C++ Programming Language (4th edition) is the canonical resource. It's a reference but is also intended to be read.
- bnejad 12y agoThank you, looking forward to Meyers' release.
- tbrock 12y agoThere is an digital unedited pre-release version that available now if you pre-order: http://shop.oreilly.com/product/0636920033707.do http://shop.oreilly.com/product/0636920033707.do I'm reading the PDF and it's quite good.
- Roboprog 12y agoIronically, it was (the first edition of, I believe) Meyer's "Effective C++" that made me question "WTF? Why does anybody use this???" (given that Turbo Pascal / Delphi, or Perl, actually were much easier to understand). Maybe C++ is usable now, but back in the late 90s, nobody that I respected used C++ - all the code I saw at work in C++ was by resume padding morons who wouldn't recognize polymorphism if it walked up and bit them in the ass. (the opinion being either use C, or a high level language, but not C++) Not fair to judge the language by the fools that used it 15+ years ago, but I have no use for operator overloading, copy memory leaks and all the other C++ obfuscation. C++ would probably benefit from a "lessons learned" do-over with a new name (as referenced elsewhere in the Perl 6 / Python 3 debacles)
- schwarze_pest 12y agoBjarne Stroustrup, A Tour of C++.
- 72deluxe 12y agoStroustrup's The C++ Programming Language 4th Edition (the blue one) is good. The beginning of it gives a tour of C++ in light detail but then you have the rest of the book to look at as a reference. It's actually quite an enjoyable read, particularly as it has a different font to the previous version (the white one?).