C语言第五版参考手册

PART 1 The C Language 1 1 Introduction 3 1.1 The Evolution of C 3 1.2 Which Dialect of C Should You Use? 6 1.3 An Overview of C Programming 7 1.4 Conformance 8 1.5 Syntax Notation 9 2 Lexical Elements 11 2.1 Character Set 11 2.2 Comments 18 2.3 Tokens 20 2.4 Operators and Separators 20 2.5 Identifiers 21 2.6 Keywords 23 2.7 Constants 24 2.8 C++Compatibility 38 2.9 On Character Sets, Repertoires, and Encodings 39 2.10 Exercises 41 3 The C Preprocessor 43 3.1 Preprocessor Commands 43 3.2 Preprocessor Lexical Conventions 44 3.3 Definition and Replacement 46 3.4 File Inclusion 59 3.5 Conditional Compilation 61 3.6 Explicit Line Numbering 66 3.7 Pragma Directive 67 3.8 Error Directive 69 3.9 C++Compatibility 70 3.10 Exercises 71 4 Declarations 73 4.1 Organization of Declarations 74 4.2 Terminology 75 4.3 Storage Class and Function Specifiers 83 4.4 Type Specifiers and Qualifiers 86 4.5 Declarators 95 4.6 Initializers 103 4.7 Implicit Declarations 113 4.8 External Names 113 4.9 C++Compatibility 116 4.10 Exercises 119 5 Types 123 5.1 Integer Types 124 5.2 Floating-Point Types 132 5.3 Pointer Types 136 5.4 Array Types 140 5.5 Enumerated Types 145 5.6 Structure Types 148 5.7 Union Types 160 5.8 Function Types 165 5.9 The Void Type 168 5.10 Typedef Names 168 5.11 Type Compatibility 172 5.12 Type Names and Abstract Declarators 176 5.13 C++Compatibility 178 5.14 Exercises 179 6 Conversions and Representations 181 6.1 Representations 181 6.2 Conversions 188 6.3 The Usual Conversions 194 6.4 C++Compatibility 200
rar 文件大小:9.49MB