C ++ learning methods and four famous books (recommended)
In a twinkling of an eye, I have been learning and using C ++ for nearly 10 years. When I started learning, I had a lot of detours, I hope to write this article and help some friends who are learning C ++. Of course, the first thing I need to note is that this article is based on my own feelings. Different people may have different points of view. You are welcome to discuss it.
When I started to learn C ++, the Chinese internet environment was not very good and the information was relatively closed. So I started with Thinking in C ++, I bought two-volume English versions. It took about six months to complete the process after a huge weekly discount. Of course, it took me some time to complete my studies. Later, with this foundation, I began to constantly write code, develop ACM questions, and gradually begin the true journey of C ++.
Today, I found that this process can be easier. As long as there are just a few people on demand, I have the idea of writing this article. In fact, the order of reading C ++ should be as follows (for friends with a C base ):
C ++ Primer
Valid C ++
Predictional C ++
Inside the C ++ Object Model
This is the four famous books I chose C ++. Why did I choose these four books?
C ++ Primer I have read the third and fourth editions of this book. Currently, this book has been published in the fifth edition. I have to say that this book is too suitable for beginners. Of course, I mean that there is a C Foundation, in addition, basically all the language features are explained, which can be said to be big and refined. I have also read C ++ Programming Language and Thinking in C ++, but I think it is of little significance to read C ++ Primer.
Objective C ++ and predictional C ++ are not thick books, but their knowledge is beyond the reach of General C ++ books, it can be said that C ++ programmers who have not read these two books are not qualified. As the saying goes, the two books are not simple, but they are not simple, we recommend that you read C ++ Primer again.
Inside the C ++ Object Model, reading this book may require a little skill, a thin book, enough effort to study for a week, once the customs clearance is completed, it can be said that the understanding of C ++ can reach another realm.
Questions about whether these books are in Chinese or English Versions
My suggestion is to buy a Chinese version, find an English electronic version (you can buy an e-book), read the Chinese version directly, and then check the translation that may be problematic. Why do we say this? Based on my experience, reading is more efficient. Directly Reading the English version is of little significance to the so-called "Commentary version". It will waste a lot of energy while reading. This has nothing to do with the English level, unless your native language is English.
Learning about standard library and generic programming
This is indeed an enhancement to the C ++ language, but the encoding is relatively difficult and easy to ignore, however, the development of C ++ to today's standard library and generic programming are already complete and can indeed improve productivity. We suggest you read relevant books and write articles in this area for time.
Summary
This topic summarizes some notes for C ++ learning and recommends four famous books. I believe that as long as you practice in order, you will certainly learn C ++ well, I wish you all the same skill.