📄 preface1.html
字号:
<html><head><title>Preface to the first edition</title></head><body><hr><p align="center"><a href="preface.html">Back to the Preface</a> -- <a href="kandr.html">Index</a> -- <a href="intro.html">Introduction</a><p><hr><h1>Preface to the first edition</h1>C is a general-purpose programming language with features economy ofexpression, modern flow control and data structures, and a rich set ofoperators. C is not a ``very high level'' language, nor a ``big'' one, and isnot specialized to any particular area of application. But its absence ofrestrictions and its generality make it more convenient and effective formany tasks than supposedly more powerful languages.<p>C was originally designed for and implemented on the UNIX operating system onthe DEC PDP-11, by Dennis Ritchie. The operating system, the C compiler, andessentially all UNIX applications programs (including all of the softwareused to prepare this book) are written in C. Production compilers also existfor several other machines, including the IBM System/370, the Honeywell 6000,and the Interdata 8/32. C is not tied to any particular hardware or system,however, and it is easy to write programs that will run without change on anymachine that supports C.<p>This book is meant to help the reader learn how to program in C. It containsa tutorial introduction to get new users started as soon as possible,separate chapters on each major feature, and a reference manual. Most of thetreatment is based on reading, writing and revising examples, rather than onmere statements of rules. For the most part, the examples are complete, realprograms rather than isolated fragments. All examples have been testeddirectly from the text, which is in machine-readable form. Besides showinghow to make effective use of the language, we have also tried where possibleto illustrate useful algorithms and principles of good style and sounddesign.<p>The book is not an introductory programming manual; it assumes somefamiliarity with basic programming concepts like variables, assignmentstatements, loops, and functions. Nonetheless, a novice programmer should beable to read along and pick up the language, although access to moreknowledgeable colleague will help.<p>In our experience, C has proven to be a pleasant, expressive and versatilelanguage for a wide variety of programs. It is easy to learn, and it wearswell as on's experience with it grows. We hope that this book will help youto use it well.<p>The thoughtful criticisms and suggestions of many friends and colleagueshave added greatly to this book and to our pleasure in writing it. Inparticular, Mike Bianchi, Jim Blue, Stu Feldman, Doug McIlroy Bill Roome,Bob Rosin and Larry Rosler all read multiple volumes with care. We are alsoindebted to Al Aho, Steve Bourne, Dan Dvorak, Chuck Haley, Debbie Haley,Marion Harris, Rick Holt, Steve Johnson, John Mashey, Bob Mitze, Ralph Muha,Peter Nelson, Elliot Pinson, Bill Plauger, Jerry Spivack, Ken Thompson, andPeter Weinberger for helpful comments at various stages, and to Mile Leskand Joe Ossanna for invaluable assistance with typesetting.<p>Brian W. Kernighan<br>Dennis M. Ritchie<p><hr><p align="center"><a href="preface.html">Back to the Preface</a> -- <a href="kandr.html">Index</a> -- <a href="intro.html">Introduction</a><p><hr></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -