4 ms·
off on a tangent: does anyone know a good resource/book for learning C++ from a C background? I've loathed C++ every time I've gone to use it, I'm sure there's
by daurnimator 14y ago
off on a tangent: does anyone know a good resource/book for learning C++ from a C background? I've loathed C++ every time I've gone to use it, I'm sure there's something good in there....
i.e. is there a good book "C++ for C programmers who hate the thought of it"
- niggler 14y agoI found the scott meyers books to be good (effective C++ and effective STL)
- yuushi 14y agoThese require some background in C++ before you pick them up, however.
- niggler 14y agoThat is true. Those books take "C programmers with a very basic understanding of some C++ fundamentals" to "C++ programmers"
- wglb 14y agoThey are very good, particularly for the intermediate C++ programmer.
- blablabla123 14y agoI particularly like the -Weffc++ ;)
- BlackJack 14y agoAccelerated C++ (http://www.amazon.com/dp/020170353X http://www.amazon.com/dp/020170353X) is perfect. I learned C++ from a C background and this book is written exactly for people like us.
- srparish 14y agoI'd recommend "C++ Primer". It's been updated for C++11, and is written in precise and clear language. As a C programmer, I find understanding details are important; Accelerated C++ was just too chatty, casual, and vague for my tastes.
- daurnimator 14y agothanks. added to amazon wishlist
- berodam 14y agoThere is a thread on Stack Overflow that has a pretty good list http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list http://stackoverflow.com/questions/388242/the-definitive-c-b... I'm currently working my way through Accelerated C++ and I'm finding it to be an excellent resource
- mailshanx 14y agoI'd suggest the course reader from Stanford's CS 106L, authored by Keith Schwarz. It brought me upto speed on major parts of STL, the C++ object model, operator overloading, functors, etc. within a week. (Of course that's assuming you have a prior programming background).
- Jach 14y agoThere is nothing good in there! Run away! :P There are reasons companies like Google et al. strictly enforce their developers to use only a subset of C++, or to use it as an "augmented C". There's also this fun problem as you learn and use it: http://lbrandy.com/blog/wp-content/uploads/2010/03/c++.png http://lbrandy.com/blog/wp-content/uploads/2010/03/c++.png http://yosefk.com/c++fqa/index.html http://yosefk.com/c++fqa/index.html isn't a book, but the author shares your disgust for C++ and it's fairly detailed. As he says somewhere, he knows C++ better than it deserves to be known. I also don't like C++ as much as C (and I'd like to replace ever having to use either of them with Rust, hence Rust is my language-of-the-year to learn for 2013), and I found the FQA immensely useful for understanding the craziness and defectiveness of C++. I'd also recommend http://www.amazon.com/The-Standard-Library-Tutorial-Reference/dp/0321623215/ http://www.amazon.com/The-Standard-Library-Tutorial-Referenc... I own the first edition and found it useful.