【文件属性】:
文件名称:The C programming language
文件大小:1.13MB
文件格式:PDF
更新时间:2013-03-17 10:17:12
C programming language
C语言程序设计经典版本 英文版
Preface.................................................................................................................................... 6
Preface to the first edition........................................................................................................8
Chapter 1 - A Tutorial Introduction.........................................................................................9
1.1 Getting Started..............................................................................................................9
1.2 Variables and Arithmetic Expressions..........................................................................11
1.3 The for statement.........................................................................................................15
1.4 Symbolic Constants......................................................................................................17
1.5 Character Input and Output.........................................................................................17
1.5.1 File Copying..........................................................................................................18
1.5.2 Character Counting...............................................................................................19
1.5.3 Line Counting.......................................................................................................20
1.5.4 Word Counting.....................................................................................................21
1.6 Arrays..........................................................................................................................23
1.7 Functions.....................................................................................................................25
1.8 Arguments - Call by Value...........................................................................................28
1.9 Character Arrays..........................................................................................................29
1.10 External Variables and Scope.....................................................................................31
Chapter 2 - Types, Operators and Expressions.......................................................................35
2.1 Variable Names............................................................................................................35
2.2 Data Types and Sizes...................................................................................................35
2.3 Constants.....................................................................................................................36
2.4 Declarations.................................................................................................................38
2.5 Arithmetic Operators...................................................................................................39
2.6 Relational and Logical Operators.................................................................................39
2.7 Type Conversions........................................................................................................40
2.8 Increment and Decrement Operators............................................................................43
2.9 Bitwise Operators........................................................................................................45
2.10 Assignment Operators and Expressions......................................................................46
2.11 Conditional Expressions.............................................................................................47
2.12 Precedence and Order of Evaluation..........................................................................48
Chapter 3 - Control Flow.......................................................................................................50
3.1 Statements and Blocks.................................................................................................50
3.2 If-Else..........................................................................................................................50
3.3 Else-If..........................................................................................................................51
3.4 Switch..........................................................................................................................52
3.5 Loops - While and For.................................................................................................53
3.6 Loops - Do-While........................................................................................................56
3.7 Break and Continue.....................................................................................................57
3.8 Goto and labels............................................................................................................57
Chapter 4 - Functions and Program Structure........................................................................59
如下请下载查看