亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? intro.html

?? C programming language. An excellent book on C programming. Recommended to C beginner.
?? HTML
字號:
<html><head><title>Introduction</title></head><body><hr><p align="center"><a href="preface1.html">Back to the Preface to the First Edition</a>&nbsp;--&nbsp;<a href="kandr.html">Index</a>&nbsp;--&nbsp;<a href="chapter1.html">Chapter 1</a><p><hr><h1>Introduction</h1>C is a general-purpose programming language. It has been closely associatedwith the UNIX operating system where it was developed, since both the systemand most of the programs that run on it are written in C. The language,however, is not tied to any one operating system or machine; and although ithas been called a ``system programming language'' because it is useful forwriting compilers and operating systems, it has been used equally well towrite major programs in many different domains.<p>Many of the important ideas of C stem from the language BCPL, developed byMartin Richards. The influence of BCPL on C proceeded indirectly through thelanguage B, which was written by Ken Thompson in 1970 for the first UNIXsystem on the DEC PDP-7.<p>BCPL and B are ``typeless'' languages. By contrast, C provides a variety ofdata types. The fundamental types are characters, and integers and floatingpoint numbers of several sizes. In addition, there is a hierarchy of deriveddata types created with pointers, arrays, structures and unions. Expressionsare formed from operators and operands; any expression, including anassignment or a function call, can be a statement. Pointers provide formachine-independent address arithmetic.<p>C provides the fundamental control-flow constructions required forwell-structured programs: statement grouping, decision making(<tt>if-else</tt>), selecting one of a set of possible values (<tt>switch</tt>),looping with the termination test at the top (<tt>while, for</tt>) or at thebottom (<tt>do</tt>), and early loop exit (<tt>break</tt>).<p>Functions may return values of basic types, structures, unions, or pointers.Any function may be called recursively. Local variables are typically``automatic'', or created anew with each invocation. Function definitionsmay not be nested but variables may be declared in a block-structuredfashion. The functions of a C program may exist in separate source files thatare compiled separately. Variables may be internal to a function, externalbut known only within a single source file, or visible to the entire program.<p>A preprocessing step performs macro substitution on program text, inclusionof other source files, and conditional compilation.<p>C is a relatively ``low-level'' language. This characterization is notpejorative; it simply means that C deals with the same sort of objects thatmost computers do, namely characters, numbers, and addresses. These may becombined and moved about with the arithmetic and logical operators implementedby real machines.<p>C provides no operations to deal directly with composite objects such ascharacter strings, sets, lists or arrays. There are no operations thatmanipulate an entire array or string, although structures may be copied as aunit. The language does not define any storage allocation facility other thanstatic definition and the stack discipline provided by the local variables offunctions; there is no heap or garbage collection. Finally, C itself providesno input/output facilities; there are no READ or WRITE statements, and nobuilt-in file access methods. All of these higher-level mechanisms must beprovided by explicitly called functions. Most C implementations have includeda reasonably standard collection of such functions.<p>Similarly, C offers only straightforward, single-thread control flow: tests,loops, grouping, and subprograms, but not multiprogramming, paralleloperations, synchronization, or coroutines.<p>Although the absence of some of these features may seem like a gravedeficiency, (``You mean I have to call a function to compare two characterstrings?''), keeping the language down to modest size has real benefits.Since C is relatively small, it can be described in small space, and learnedquickly. A programmer can reasonably expect to know and understand and indeedregularly use the entire language.<p>For many years, the definition of C was the reference manual in the firstedition of <em>The C Programming Language</em>. In 1983, the American NationalStandards Institute (ANSI) established a committee to provide a modern,comprehensive definition of C. The resulting definition, the ANSI standard, or``ANSI C'', was completed in late 1988. Most of the features of the standardare already supported by modern compilers.<p>The standard is based on the original reference manual. The language isrelatively little changed; one of the goals of the standard was to make surethat most existing programs would remain valid, or, failing that, thatcompilers could produce warnings of new behavior.<p>For most programmers, the most important change is the new syntax fordeclaring and defining functions. A function declaration can now include adescription of the arguments of the function; the definition syntax changesto match. This extra information makes it much easier for compilers to detecterrors caused by mismatched arguments; in our experience, it is a veryuseful addition to the language.<p>There are other small-scale language changes. Structure assignment andenumerations, which had been widely available, are now officially part of thelanguage. Floating-point computations may now be done in single precision.The properties of arithmetic, especially for unsigned types, are clarified.The preprocessor is more elaborate. Most of these changes will have only minoreffects on most programmers.<p>A second significant contribution of the standard is the definition of alibrary to accompany C. It specifies functions for accessing the operatingsystem (for instance, to read and write files), formatted input and output,memory allocation, string manipulation, and the like. A collection ofstandard headers provides uniform access to declarations of functions in datatypes. Programs that use this library to interact with a host system areassured of compatible behavior. Most of the library is closely modeled onthe ``standard I/O library'' of the UNIX system. This library was describedin the first edition, and has been widely used on other systems as well.Again, most programmers will not see much change.<p>Because the data types and control structures provided by C are supporteddirectly by most computers, the run-time library required to implementself-contained programs is tiny. The standard library functions are onlycalled explicitly, so they can be avoided if they are not needed. Most can bewritten in C, and except for the operating system details they conceal, arethemselves portable.<p>Although C matches the capabilities of many computers, it is independent ofany particular machine architecture. With a little care it is easy to writeportable programs, that is, programs that can be run without change on avariety of hardware. The standard makes portability issues explicit, andprescribes a set of constants that characterize the machine on which theprogram is run.<p>C is not a strongly-typed language, but as it has evolved, its type-checkinghas been strengthened. The original definition of C frowned on, butpermitted, the interchange of pointers and integers; this has long since beeneliminated, and the standard now requires the proper declarations andexplicit conversions that had already been enforced by good compilers. Thenew function declarations are another step in this direction. Compilers willwarn of most type errors, and there is no automatic conversion ofincompatible data types. Nevertheless, C retains the basic philosophy thatprogrammers know what they are doing; it only requires that they state theirintentions explicitly.<p>C, like any other language, has its blemishes. Some of the operators have thewrong precedence; some parts of the syntax could be better. Nonetheless, Chas proven to ben an extremely effective and expressive language for a widevariety of programming applications.<p>The book is organized as follows. Chapter 1 is a tutorial on the central partof C. The purpose is to get the reader started as quickly as possible, sincewe believe strongly that the way to learn a new language is to write programsin it. The tutorial does assume a working knowledge of the basic elements ofprogramming; there is no explanation of computers, of compilation, nor of themeaning of an expression like <tt>n=n+1</tt>. Although we have tried wherepossible to show useful programming techniques, the book is not intended tobe a reference work on data structures and algorithms; when forced to makea choice, we have concentrated on the language.<p>Chapters 2 through 6 discuss various aspects of C in more detail, and rathermore formally, than does Chapter 1, although the emphasis is still onexamples of complete programs, rather than isolated fragments. Chapter 2deals with the basic data types, operators and expressions. Chapter 3 threatscontrol flow: <tt>if-else</tt>, <tt>switch</tt>, <tt>while</tt>, <tt>for</tt>,etc. Chapter 4 covers functions and program structure - external variables,scope rules, multiple source files, and so on - and also touches on thepreprocessor. Chapter 5 discusses pointers and address arithmetic. Chapter 6covers structures and unions.<p>Chapter 7 describes the standard library, which provides a common interfaceto the operating system. This library is defined by the ANSI standard and ismeant to be supported on all machines that support C, so programs that use itfor input, output, and other operating system access can be moved from onesystem to another without change.<p>Chapter 8 describes an interface between C programs and the UNIX operatingsystem, concentrating on input/output, the file system, and storageallocation. Although some of this chapter is specific to UNIX systems,programmers who use other systems should still find useful material here,including some insight into how one version of the standard library isimplemented, and suggestions on portability.<p>Appendix A contains a language reference manual. The official statement ofthe syntax and semantics of the C language is the ANSI standard itself. Thatdocument, however, is intended foremost for compiler writers. The referencemanual here conveys the definition of the language more concisely and withoutthe same legalistic style. Appendix B is a summary of the standard library,again for users rather than implementers. Appendix C is a short summary ofchanges from the original language. In cases of doubt, however, the standardand one's own compiler remain the final authorities on the language.<p><hr><p align="center"><a href="preface1.html">Back to the Preface to the First Edition</a>&nbsp;--&nbsp;<a href="kandr.html">Index</a>&nbsp;--&nbsp;<a href="chapter1.html">Chapter 1</a><p><hr></body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产清纯美女被跳蛋高潮一区二区久久w| 国产成人亚洲综合a∨婷婷图片| 国产日韩欧美在线一区| 91精品国产综合久久久蜜臀粉嫩| 色综合久久中文字幕| 成人福利视频网站| 99麻豆久久久国产精品免费 | 日韩欧美亚洲另类制服综合在线| 91丨九色丨尤物| 色婷婷综合久久久| 欧美日韩黄色一区二区| 欧美一区日本一区韩国一区| 日韩免费在线观看| 国产农村妇女精品| 亚洲精品成人a在线观看| 亚洲福利电影网| 狠狠网亚洲精品| 99久久精品免费看| 欧美日韩在线观看一区二区 | 麻豆免费看一区二区三区| 韩国精品一区二区| 成人国产精品免费观看视频| 色婷婷av一区二区三区gif | 国产在线日韩欧美| 成人av第一页| 欧美日韩精品电影| 久久久久久免费毛片精品| 欧美国产日本韩| 婷婷综合在线观看| 大胆亚洲人体视频| 欧美日本韩国一区| 中文字幕在线观看一区| 秋霞电影网一区二区| 成人动漫一区二区三区| 91麻豆精品国产91久久久资源速度 | 91久久精品一区二区三| 制服丝袜成人动漫| 国产精品国产三级国产有无不卡| 亚洲午夜激情网站| 国产精品亚洲第一区在线暖暖韩国| 91色.com| 久久久久久久综合色一本| 亚洲国产精品久久艾草纯爱| 国产盗摄视频一区二区三区| 欧美日韩极品在线观看一区| 日韩一区欧美小说| 国产麻豆成人精品| 日韩一级免费一区| 亚洲一二三区在线观看| 99这里只有久久精品视频| 日韩欧美久久久| 无吗不卡中文字幕| 色综合中文字幕国产| 精品日韩99亚洲| 亚洲成人激情av| 99国产一区二区三精品乱码| 欧美精品一区二| 奇米影视在线99精品| 欧美三日本三级三级在线播放| 国产精品天美传媒沈樵| 国产精品一二三四五| 日韩欧美在线观看一区二区三区| 亚洲国产精品一区二区www在线| 99精品偷自拍| 亚洲免费在线观看视频| 成人美女视频在线看| 国产欧美精品一区| 国产精品羞羞答答xxdd| 亚洲精品一区二区三区福利| 麻豆精品视频在线观看免费| 日韩一区二区精品| 美女视频黄久久| 亚洲精品一线二线三线| 韩日欧美一区二区三区| 久久综合九色综合97_久久久| 久久97超碰国产精品超碰| 精品欧美久久久| 国产一区二区三区四| 久久久久久久一区| 成人免费视频一区二区| 国产精品国产成人国产三级 | 久久精品国产澳门| 精品日韩av一区二区| 国产一区二区三区不卡在线观看| 久久网站最新地址| 成人动漫精品一区二区| 亚洲欧美激情一区二区| 欧美图区在线视频| 乱中年女人伦av一区二区| 久久久久青草大香线综合精品| 国产精品99精品久久免费| 亚洲私人影院在线观看| 欧美日韩一区二区在线观看 | 色婷婷综合久久久久中文一区二区 | 国产色91在线| 91老司机福利 在线| 亚洲宅男天堂在线观看无病毒| 欧美日韩高清一区二区不卡| 麻豆传媒一区二区三区| 国产九色sp调教91| 欧美国产综合一区二区| 风间由美一区二区三区在线观看| 久久精品水蜜桃av综合天堂| a亚洲天堂av| 日本在线播放一区二区三区| 精品国内片67194| 99精品黄色片免费大全| 日韩黄色免费电影| 国产精品久久久久9999吃药| 欧美自拍偷拍午夜视频| 国产在线乱码一区二区三区| 国产精品久久久久毛片软件| 欧美日韩国产综合草草| 国产夫妻精品视频| 日韩国产在线观看| 亚洲天天做日日做天天谢日日欢| 欧美精品九九99久久| gogo大胆日本视频一区| 亚洲在线视频一区| 欧美婷婷六月丁香综合色| 精品综合免费视频观看| 天天色天天操综合| 国产午夜亚洲精品羞羞网站| 91国在线观看| 成人深夜视频在线观看| 九九**精品视频免费播放| 亚洲国产视频直播| 国产精品久久久久久久久免费樱桃| 91麻豆精品国产自产在线| 99riav一区二区三区| 国产精品一区不卡| 裸体一区二区三区| 天堂成人国产精品一区| 亚洲欧美日韩久久精品| 欧美国产日韩精品免费观看| 欧美精品一区二区三区久久久 | 91亚洲精品久久久蜜桃| 精品在线播放免费| 奇米色一区二区三区四区| 一区二区欧美国产| 一二三区精品福利视频| 亚洲天堂a在线| 亚洲日本青草视频在线怡红院| 国产日韩欧美精品电影三级在线| 日韩欧美国产电影| 在线综合视频播放| 欧美日韩美女一区二区| 欧美日韩一区成人| 欧美性xxxxx极品少妇| 91福利小视频| 欧美亚洲禁片免费| 精品视频1区2区3区| 欧美三级中文字| 欧美日韩一区二区在线视频| 欧美色窝79yyyycom| 精品视频在线免费看| 欧美日韩国产综合一区二区三区| 欧美日韩专区在线| 欧美精品123区| 欧美一区二区三区四区视频| 日韩一区二区三区精品视频| 日韩美一区二区三区| 久久综合av免费| 国产精品久久久久一区| 亚洲欧美电影一区二区| 日本中文字幕不卡| 韩国成人在线视频| 成人a免费在线看| 一本一本久久a久久精品综合麻豆| 色婷婷精品大在线视频| 欧美日韩免费电影| 久久久久久久久久久久久久久99| 国产三级一区二区| 亚洲资源在线观看| 久久精品av麻豆的观看方式| 国产一区在线精品| 色综合天天狠狠| 91麻豆精品国产91久久久资源速度| 精品久久人人做人人爽| 国产精品福利影院| 天天免费综合色| 成人一区二区三区视频在线观看| 色综合网站在线| 精品美女被调教视频大全网站| 中文字幕精品一区二区精品绿巨人| 一区二区高清免费观看影视大全| 日韩精品免费视频人成| 国产99一区视频免费| 在线观看国产日韩| 国产性天天综合网| 亚洲高清免费视频| 成人黄色777网| 日韩一区二区免费在线观看| 中文字幕一区av| 精品在线观看视频| 欧美日韩中文一区| 国产精品人人做人人爽人人添| 天堂成人免费av电影一区| 99久久精品免费精品国产| 日韩欧美不卡一区|