|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
Four Books and Five Classics posted] [C program design
Four Books and Five Classics posted] [C program design
From 2004-02-22 ongoing JDEV bloves
Http://ccb.77jj.com/user03/bbs/ccb/index.cgi
C program design Four Books and Five Classics
Glory
Introduction
Since Dennis M.Ritchie C language design and implementation in 1973, the computer programming field has undergone tremendous changes. C language as a basis for the C + +, Java and C # object-oriented languages have emerged one after another, and great success in their respective fields. Today, almost C and their descendants ruled the computer programming world. It can be said that the birth of modern programming language C language revolution starting point, it changed the trajectory of the development of programming languages, program design is a milestone in the history of the development of language.
However, C and other languages not only the starting point and foundation, it has also become a programming language development was abandoned. And the original invention, the C language is still vital today. It is the expression of power, efficiency, concise, compact, the ultimate control of the machine and a high degree of cross-platform portability so that in-system programming, and other fields have been embedded programming occupy the dominant position, and the formulation of C99 standard C language will once again shine with a new vigor. C Programming areas described below of several books, some of his classics.
1. Brian W.Kernighan, Dennis M.Ritchie, "C Programming Language" Machinery Industry Press
This is by far the most books in all programming languages widely respected in the classical one is a C programmers any of those times. Dennis M because the designers from C language. Ritchie, and Brian W. famous computer scientists. Kernighan hand, it has been nicknamed "K&R C." It is the first introduction of the "Hello World!" process which later became almost any one of the introductory programming language books in the first example.
Like most powerful and compact C language itself, and this book packed full of tension. Through concise descriptions and examples of typical, it is a comprehensive, systematic and accurate description of the C language and the various characteristics of the C programming methods, which covers basic concepts, the types and expressions, control flow, function and architecture, and the target array, structure, input and output, and UNIX System adapter as standard bank.
This book is clearly the most succinct characteristics. This book can teach you many times over the thick of it, "voluminous" knowledge. I think those who often lengthy depicts hundreds of pages, and even more than a thousand pages of technical writers should make a study to K&R school. For middle - and high-level programmers, if we want prompt access to the C language knowledge seriously even if he is not willing to spend a little bit more time, this book is the first choice.
Incidentally, the production index of this book very well, very practical value, which may first be attributed to the main part of the brief. Furthermore, although it looks like one of the guides, but this one is written by professional programmers guide. If you do not have any other programming language background or basic knowledge of the C language, this book might not be suitable for your enlightenment C language books.
2. Peter Van Der LinDen, "Expert C Programming", the People's Post and Telecommunication Press
C language programmers who are serious language, but this does not mean that the C language books must Banzhaomiankong sermon. This was in the C programmers prefer to call "fish" (a cover of one of the "ugly" cavity Stickleback) works, as SUN公司 compiler and operating system kernel development team member, Peter most vividly display their deep technical precipitation, the project rich experience, superb writing skills and signs of humor. In this work, the author fluent in the language, humorous style will anecdotal stories, wisdom and humor naturally integrated into the technical description, just like reading a book, very interesting.
The book on the history of the C language and linguistic identity, declarations, array, target, connectivity, the use of run-time memory and the knowledge of the C language reveals many hidden between, in particular depth analysis of the declaration, and the target array, the memory usage details. To become an expert C programmer, these elements are necessary to grasp. And other books full of abstract examples of the C language, this book is full of a lot of real world from the C programming examples, they have a very high reference value for C programmers. In addition, each chapter are very interesting to "relax" sunset, and Appendix A "secret programmer job interview" any language programmers are working to increase self-confidence in the recruitment of good material.
I suspect the real experts C may not be used to see this book-the content and style of the organization have decided this is a pleasant "From novice to expert," Advanced Reading, therefore, it should have a wider audience. Junior programmers often need warm encouragement, in the course of reading this book, you will be deeply infected by the author of Programming passion.
Love is not perfect. I think this book is wrong, and most mediocre C language books, it's superfluous to join a chapter on the C + + description. Today, this is not a comprehensive description also inequitable. However, in view of the author in 1994 to observe from the perspective of a C + + Programmer C, which is not surprising.
3. Samuel P.. Harbison, Guy L.. Steele, the "C Language Reference Manual (Fifth Edition)" (photocopy version), the People's Post and Telecommunication Press
In the C language reference manual books, Samuel P.. Harbison and Guy L.. Steele co-authored the "C : A Reference Manual> this is a very excellent. This new fifth edition of the Manual of Standards C99, C language learning in order to meet the needs of the new era. The book is divided into two parts, the first part focused on C language characteristics of the second part of a comprehensive C Standard Library. The book covers C99, C89, the traditional C and C Runtime library and the preparation of all versions of the C and C + + compatible code and all other knowledge.
This manual is an average thickness, but it has "more than it is thick," the other reference manual describes the C language more clearly all aspects of the present and the past. Accurate description of the technical details of the entire manual to organize the presentation was clear, concise but detailed contents complete. It can be said that in breadth, depth and precision are outstanding. For middle - and high-level C programmers, this handbook is worth standing desk, it is almost certainly higher than the frequency of use K&R works.
I have a Chinese version of this book : "C Language Reference Manual," Machinery Industry Publishing House. I read it reduces the burden, but sometimes also helped increase understanding of the difficulties. - February 1, 2004 in honor added
4. David Hanson, the "C adapter : the creation and implementation of reusable software technology," Machinery Industry Press
After more than 30 years to C language instead, a major reason is its ability to adapt. In this "complex" and "object-oriented", "components" and "Exception Handling" confetti fluttering's advanced mechanism, by virtue of its C language can still small but elegant linguistic identity, to a great extent on the structure to meet the modern requirements of the software system. However, the desired degree of ability in C must reach the highest level. Embedded in the system software and high performance requirements of the system under development, such development must reach the level of senior characteristics familiar C language, in order to satisfy the efficiency and flexibility, the complex with the demand. Unfortunately, despite the C language library technology and tactics, but is concerned about the peak work is the domain of a handful. David Hanson the "C Interfaces and Implementations> is a prime example.
David Hanson is the famous free compiler 6,7 industry partners. In this project, he was responsible for providing a high level of the complex infrastructure. The constant practice, he formed a complete set of ANSI C can be used with complex component library. This component library structure clear, high performance, but also provide many senior characteristics, such as the type of Win32 SEH exception handling mechanism that can transplant Thread Library, the high-performance memory pool, rich data structures can be complicated to use components. David Hanson him in the creative process of these components has accumulated experience and refined its analysis of the original source of this book were written. This works, of course, his mind must Ming C language areas of goods. No wonder the late Richard Stevens technical writer of this book was very well received, he said : "this book technology, for the majority of C programmers, has been forgotten for too long. "To hope to be able to achieve the highest level C language programmers at the core, this book is a rare and carefully made.
Other
Apart from the above four books, I would also be happy to recommend Andrew Koenig book "The C traps and wrong" (People's Post and Telecommunication Press), co-authored by his father and Deitel "C. How to Program> two books.
Andrew Koenig is one of the world's few experts in C + +, this book may be the thinnest of the C language classics. It is concise description of the C program design traps and mistakes, including morphology trap, trap syntax, semantic trap, connectivity, library functions, a pre-processor and portability error, the final chapter is also given on how to reduce procedural errors in previous chapters, as well as the recommendations of the reference answer. While the booklet in the form of C89 standards, however, have enacted even in the C99 today, as mentioned in the majority of pitfalls and mistakes so that we wake up 15 years ago.
Deitel father co-authored "How to Program> C C language portal has been very good guidance, I called the Chinese translation of the" C Programming Guide "(Machinery Industry Publishing House, the second edition of the original book). In addition to the formal description techniques (supplemented by many brief examples), with each chapter are behind the summary, terminology and common programming errors, good programming practices, performance Advice, Advice portability, software engineering review, and self-test exercises and answers. Clear the entire book, well organized, easy to read and understand. Worth mentioning is that it can be read many books, discarded, and that this is an exception.
Conclusion
The above description of several books largely confined to the standard C language and reservoir itself, if we want to learn more professional and technical fields related to the C programming, you can read this in the choice of several books on the basis of continued access to specialized books. In addition, the C language books in the field, many of the works the same level, which only a few of the reading experience and make my own recommendation.
I am not a C programmer, I spent most of the time, especially C + + C was the language of the descendants. However, as you know, is not all types and C + + templates, and Generic Object-oriented programming is incomplete, at a lower level, the realization of the various C + + C, as always, largely compatible. The close relationship between C + + and C. The C language of each decision has to be C + + programmers classic literature.
This world is changing really fast. All kinds of new things are emerging in an endless stream, dazzling and confusing. It will be very easy for those who are attracted to the bright lights of the gaudy gadget often forget to build the past, present and future on a solid foundation. C language is the basis of this one. Today, we see many of the world's key software is used C language (and C + +) to complete, is quietly backing them with the rest of the world in the operation.
Thanks
Mr. Meng Yan thanks to the direct pay letter paper work.
References and Resources
1. Brian W. Kernighan, Dennis M. Ritchie, the "C Programming Language (Plate)," Tsinghua University Press, 1997.
2. Brian W. Kernighan and Rob Pike, "Program Design," Machinery Industry Press, 2000.
3. Herbert Schildt, "C language bible", the Electronics Industry Publishing House, 2001.
4. Standardization ISO C, http://std.dkuug.dk/JTC1/SC22/WG14. |
| |