C程序设计语言于1978年出了第一版,此后,计算机世界经历了一场革命,C语言也有合理的变化。1998年美国国家标准学会就C语言的定义制订出了ANSI C标准。本书第二版就是按这个标准来描述C语言的。全书八章,分别为:1、指导性绪信纸;2、数据类型、运算符与表达式;3、控制流;4、函数与程序结构;5、指针与数组;6、结构;7、输入与输出;8、UNIX系统界面。书后附录为:A参考手册;B标准库;C语言定义变化小结。
Preface\r\n\r\nPreface to the First Edition\r\n\r\nIntroduction\r\n\r\nChapter1. A Tutorial Introduction\r\n\r\n1.1 Getting Stared\r\n1.2 Variables and Arithmetic Expressions\r\n1.3 The For Statement\r\n1.4 Symbolic Constants\r\n1.5 Character Input and Output\r\n1.6 Arrays\r\n1.7 Functions\r\n1.8 Arguments-Call by Value\r\n1.9 Character Arrays\r\n1.10 External Variables and Scope\r\n\r\nChapter2. Types ,Operators,and Expressions\r\n\r\n2.1 Variable Names\r\n2.2 Data Types and Sizes\r\n2.3 Constants\r\n2.4 Declarations\r\n2.5 Arithmetic Operators\r\n2.6 Relational and Logical Operators\r\n2.7 Type Conversions\r\n2.8 Increment and Decrement Operators\r\n2.9 Bitwise Operators\r\n2.10 Assignment Operators and Expressions\r\n2.11 Conditional Expressions\r\n2.12 Precedence and Order of Evaluation\r\n\r\nChapter3. Control Flow\r\n\r\n3.1 Statements and Blocks\r\n3.2 If-Else\r\n3.3 Else-If\r\n3.4 Switch\r\n3.5 Loops-While and For\r\n3.6 Loops-Do-while\r\n3.7 Break and Continue\r\n3.8 Goto and Labels\r\n\r\nChapter4. Functions and Program Structure\r\n\r\n4.1 Basics of Functions\r\n4.2 Functions Returning Non-integers\r\n4.3 External Variables\r\n4.4 Scope Rules\r\n4.5 Header Files\r\n4.6 Static Variables\r\n4.7 Register Variables\r\n4.8 Block Structure\r\n4.9 Initialization\r\n4.10 Recursion\r\n4.11 The C Preprocessor\r\n\r\nChapter5. Pointers and Arrays\r\n\r\n5.1 Pointers and Addresses\r\n5.2 Pointers and Function Arguments\r\n5.3 Pointers and Arrays\r\n5.4 Address Arithmetic\r\n5.5 Character Pointers and Functions\r\n5.6 Pointer Arrays;Pointers to Pointers\r\n5.7 Multi-dimensional Arrays\r\n5.8 Initialization of Pointer Arrays\r\n5.9 Pointers Vs,Multi-dimensional Arrays\r\n5.10 Command-line Arguments\r\n5.11 Pointers to Functions\r\n5.12 Complicated Declarations\r\n\r\nChapter6. Structures\r\n\r\n6.1 Basics of Structures\r\n6.2 Structures and Functions\r\n6.3 Arrays of Structures\r\n6.4 Pointers to Structures\r\n6.5 Self -referential Structures\r\n6.6 Table Lookup\r\n6.7 Typedef\r\n6.8 Unions\r\n6.9 Bit-fields\r\n\r\nChapter7. Input and Output\r\n\r\n7.1 Standard Input and Output\r\n7.2 Formatted Output-Printf\r\n7.3 Variable-length Argument Lists\r\n7.4 Formatted Input-Scanf\r\n7.5 File Access\r\n7.6 Error Handling-Stderr and Exit\r\n7.7 Line Input and Output\r\n7.8 Miscellaneous Functions\r\n\r\nChapter8. The UNIX System Interface\r\n\r\n8.1 File Descriptors\r\n8.2 Low Level I/O-Read and Write\r\n8.3 Open ,Creat,Close,Unlink\r\n8.4 Random Access-Lseek\r\n8.5 Example-An Implementation of Fopen and Getc\r\n8.6 Example-Listing Directories\r\n8.7 Example-A Storage Allocator\r\n\r\nAppendix A. Reference Manual\r\n\r\nA1 Introduction\r\nA2 Lexical Conventions\r\nA3 Syntax Notation\r\nA4 Meaning of Identifiers\r\nA5 Objects and Lvalues\r\nA6 Conversions\r\nA7 Expressions\r\nA8 Declarations\r\nA9 Statements\r\nA10 External Declarations\r\nA11 Scope and Linkage\r\nA12 Preprocessing\r\nA13 Grammar\r\n\r\nAppendix B Standard Library\r\n\r\nB1 Input and Output:\r\nB2 Character Class Tests:\r\nB3 String Functions:\r\nB4 Mathematical Functions:\r\nB5 Utility Functions:\r\nB6 Diagnostics:\r\nB7 Variable Argument Lists:\r\nB8 Non-local Jumps:\r\nB9 Signals:\r\nB10 Date and Time Functions:\r\nB11 Implementation-defined Limits:and\r\n\r\nAppendix C.Summary of changes\r\n\r\nIndex
无封面