Answer the question
In order to leave comments, you need to log in
What is the current literature for learning C++?
Hello. I have been programming for about 2 years, mostly writing in Python. There is a desire to seriously learn C ++. Please advise me on proven, high-quality and, most importantly, up-to-date literature for learning C ++ and for understanding its features. I found several books, but the old language standard was considered there, and as far as I know, C ++ 11 is currently used, which is very different from the old standards.
Answer the question
In order to leave comments, you need to log in
All the same. First, Stroustrup (a must-read) and Schildt (you can start with his "reference book" like from a textbook), then Alexandrescu with Sutter.
It is not necessary to chase C ++ 11, because many features of C++03 are not obsolete (and are likely to be encountered in practice). There are differences, but this is not a _completely different language_, there will be no problem "learning" new things. I have not seen a translation of Stroustrup's current work (from C ++ 11), but you can find it in English.
Schildt (C++ complete reference) - there is both about C and about C++ in the reference format, which is very convenient when switching from another language.
And don't worry about the relevance of the literature: in C++, new standards only add something to the language without removing anything. Therefore, there is no such feature (as in python, when moving from 2 to 3), when something from what you used in your program suddenly disappears. You can safely study what was before (and you will meet the old code more than once, and even now many "C ++ programmers" write something more similar to pure C), and then look at what was added in the new standards - brief reviews with habra like thisenough for a general idea of what is happening now, by the way, we already have C++'14, and, they say, C++'17 is coming next year. And for a deep understanding - practice, practice and only practice.
The easiest to understand (in my opinion), and more detailed:
Laforet Object-Oriented Programming in C++
Prata The C++ Programming Language. Lectures and exercises (there is training based on C ++ 11) I
recommend reading both, it is even cooler to read in parallel. You read about variables in Laforet, you didn’t understand something, you read Prat, then functions, Laforet and then Prat. This way it is better remembered and understood.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question