Share the second Chinese version of the classic BrianW. Kernighan C language programming

Source: Internet
Author: User
Share the second Chinese version of the classic BrianW. Kernighan C language programming-General Linux technology-Linux programming and kernel information. For more information, see the following. The computer industry has undergone a revolution since the publication of C programming language in 1978. Large computers have become larger, while personal computers are comparable to mainstream computers 10 years ago. During this period, the C language has quietly changed, and it has already exceeded the language used only as a UNIX operating system. The application scope of C is expanded, language changes during these years, and compilers developed by various organizations that exceed their predefined content, all of this requires a more accurate and updated definition of C language than the 1st version of this book. In 1983, the American National Institute of Standards (ANSI) established a committee with the goal of creating a "machine-independent C language definition without ambiguity ", at the same time, it maintains its essence. The result is the ANSI standard of C. This standard regulates some structures that have been prompted but not described in this book version 1st, especially structure assignment and enumeration. It provides a new form of function declaration, allowing cross-checking of function definitions in use. It illustrates a standard library and a function set expansion that completes input/output, memory management, string operations, and other similar tasks. This standard clearly demonstrates the behavior of some features not specified in the original definition. At the same time, this standard also clearly shows which parts of the language are still dependent on machines. Version 2nd of C programming language describes the C language defined by the ANSI standard. Although we have already pointed out a variety of language innovations, we have decided not to write in new forms. There is not much difference in most of the content. The most obvious change is the new form of function declaration and definition. Modern compilers already support most of the features of this standard. We try our best to keep the simplicity of version 1st. C is not a large language and does not need to be described in a thick book. We have improved the description of typical features, such as pointers, which are the center of C program design. We have refined previous examples and added new examples in several chapters. For example, we use programs to process complex statements that convert statements into words or vice versa. As before, the text of all examples is tested in machine readable form. Appendix A is A reference manual, not A standard, but we hope to express the key points of the standard in A small space. It is easy for programmers to understand, rather than the definition provided to compiler implementers-this is the role of standards. Appendix B summarizes the functions provided by the standard library. Appendix C is a summary of changes to previous versions. As we mentioned in version 1st, "it looks useful when the experience in C increases ". After more than 10 years of practice, we still think so. We hope this book will help you learn and use the C language. Thank you very much for helping us complete this version. Jon Bentley, Doug Gwyn, Doug McIlroy, Peter Nelson, and Rob Pike provide suggestions on almost every page of the manuscript. We are very grateful to Al Aho, Dennis Allison, Joe Campbell, and G. r. emlin, Karen Fortgang, Allen Holub, Andrew Hume, Dave Kristol, John Linderman, Dave Prosser, Gene Spafford, and Chris Van Wyk read this book carefully. We also received useful suggestions from Bill Cheswick, Mark Kernighan, Andy Koenig, Robin Lake, Tom London, Jim Reeds, Clovis Tondo, and Peter Weinberger. Dave Prosser answered a lot of questions about the ANSI standard. We have widely used Bjarne Stroustrup's C ++ translation program to partially test our program. Dave Kristol provides us with an ansi c compiler for final testing. Rich Drechsler helped us make the layout. We sincerely thank everyone. Brian W. Kernighan Dennis M. Ritchie
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.