Home > Article > Backend Development > Must-read books for in-depth study of C++ (recommended)
Must-read books for in-depth study of C (recommended)
In the past, many friends asked questions about recommended books for learning various technologies. Here is a list of some books that I think are better, I hope it can serve as a starting point:)
C Primer, Thinking in C, The Standard C Library, The C Programming Language: I won’t introduce these books in detail. They are very famous books, so I won’t be wordy.
Effective C and More Effective C, by Scott Meyers: These two books The book is also very famous. Use examples to explain some very practical issues in C, and give some Guidelines that should be followed under normal circumstances. In fact, the highlight of these two books is not these Guidelines, but the authors' own analysis of actual problems and in-depth explanations of the reasons behind the rules for exploring various possible solutions.
STL source code analysis by Hou Jie: This book mainly analyzes the implementation principles behind STL, rather than explaining the usage of STL. This book analyzes various commonly used techniques in STL implementation and is a good example for learning the actual usage of templates. At the same time, this book also involves the implementation of many STL internal functions, including specific algorithms and memory allocation techniques, which is worth reading.
C Templates by David Vandevoorde: Explains various related syntax and some practical usage of C templates, covering a very wide range.
Large Scale C Software Design by John Lakos: Mainly explains the issues that need to be considered in the actual development of large-scale C programs, such as the relationship between physical design and logical design, hierarchy Some issues that are only involved in large-scale C programming such as design
The design & evolution of C by Bjarne Stroupstrup: Written by the inventor of C. It's not about the actual syntax, but the reasons behind C syntax and the history of C's evolution. Reading this book will give you a deep understanding of why C is what it is now.
Modern C design by Andrei Alexandrescu: Explains various advanced uses of C templates, such as Type List, etc., which is more torturous for the compiler. The famous loki library comes from this book. This book's use of C templates can be said to be superb, and it is the basis for understanding template libraries such as Boost. However, there is widespread controversy over whether this template technology should be used in actual projects, especially large projects.
Inside C Object Model: Explains the internal implementation principles of C, such as virtual functions, constructors, templates, etc., Name Mangling, etc. After reading this book, you will feel that C is no longer Mystery, everything can be said to be under your control. highly recommended!
Design Patterns: Although this book is not about C, it is very useful for improving C skills. When writing C code, you can't just focus on the syntax and techniques of C. You also need to design the architecture of the entire program. This book talks about a large number of reusable design patterns, which is very beneficial to improving the design quality of C programs. However, you need to be careful not to fall into the misunderstanding of using design patterns everywhere. The key is to know your various possible choices, understand the advantages and disadvantages behind each choice, and choose the most suitable one. These design patterns are just part of many design methods.
Thank you all for reading, I hope you can benefit from these books.
This article is reproduced from: https://blog.csdn.net/softart/article/details/1935550
Recommended tutorial: "C Language"
The above is the detailed content of Must-read books for in-depth study of C++ (recommended). For more information, please follow other related articles on the PHP Chinese website!