4 ms·
What would be the modern (14/17/20) C++ as the first language book nowadays?
by zerr 7y ago
What would be the modern (14/17/20) C++ as the first language book nowadays?
- reflexer 7y agoUse python.
- tdsamardzhiev 7y agoUse whatever floats your boat.
- dgellow 7y agoI'm not sure I understand your question, but if you are asking for a first book to learn the language, adapted to modern C++, then "A tour of C++" by Bjarne Stroustrup (initial creator of the language) is a really good one: http://www.stroustrup.com/tour2.html http://www.stroustrup.com/tour2.html. It's relatively short (~250 pages) and simple to start with. And the second edition is updated to C++17, and covers a bit of C++20.
- SloopJon 7y agoEveryone has a different path, but frankly, I wouldn't recommend C++ as a first programming language. It's much easier to comprehend if you have some background in another language. My three favorite C++ books are C++ Common Knowledge, Modern Effective C++, and Effective C++. Two of those predate C++11, but most of the advice is still applicable. As for introductory texts, I guess there's: Accelerated C++, C++ Primer, Discovering Modern C++, A Tour of C++, and of course C++ Crash Course (the book under discussion). I wouldn't get too hung up on "modern" C++. The vast majority of C++ programmers learned the old stuff (the vast majority of which is still valid), then caught up on the new stuff with Effective Modern C++, blog posts, etc. Just as it's useful to know C before you learn C++, it's useful to know old C++ before you learn modern C++.
- criddell 7y ago> Just as it's useful to know C before you learn C++, it's useful to know old C++ before you learn modern C++. There are definitely varying opinions on this. If you look for C++ courses for beginners they mostly do not start with C these days. I'd be surprised if any courses currently being taught don't start with lots of std library stuff (especially vector, string, map, etc...).
- tdsamardzhiev 7y agoYou mean, what's a good book for somebody who wants to learn programming with C++ as a language of choice? I'd vote for "Beginning Game Programming in C++" as a self-study book, and "Programming: Principles and Practices Using C++" if you have somebody more experienced that can help you set your environment.
- bigjew222 7y agoWho is the author of your recommended "Beginning Game Programming in C++" book...? Sounds interesting.
- tdsamardzhiev 7y agoOops, I meant "Beginning C++ Through Game Programming" by Michael Dawson. It's a no-nonsense beginner programming text, geared towards people who want to learn C++ in order to make games.