文档介绍:The C programming Language
The C programming Language
By Brian W. Kernighan and Dennis M. Ritchie.
Published by Prentice-Hall in 1988
ISBN 0-13-110362-8 (paperback)
ISBN 0-13-110370-9
Contents
● Preface
● Preface to the first edition
● Introduction
1. Chapter 1: A Tutorial Introduction
1. Getting Started
2. Variables and Arithmetic Expressions
3. The for statement
4. Symbolic Constants
5. Character Input and Output
1. File Copying
2. Character Counting
3. Line Counting
4. Word Counting
6. Arrays
7. Functions
8. Arguments - Call by Value
9. Character Arrays
10. External Variables and Scope
2. Chapter 2: Types, Operators and Expressions
1. Variable Names
2. Data Types and Sizes
3. Constants
4. Declarations
(1 of 5) [5/15/2002 10:12:59 PM]
The C programming Language
5. Arithmetic Operators
6. Relational and Logical Operators
7. Type Conversions
8. Increment and Decrement Operators
9. Bitwise Operators
10. Assignment Operators and Expressions
11. Conditional Expressions
12. Precedence and Order of Evaluation
3. Chapter 3: Control Flow
1. Statements and Blocks
2. If-Else
3. Else-If
4. Switch
5. Loops - While and For
6. Loops - Do-While
7. Break and Continue
8. Goto and labels
4. Chapter 4: Functions and Program Structure
1. Basics of Functions
2. Functions Returning Non-integers
3. External Variables
4. Scope Rules
5. Header Files
6. Static Variables
7. Register Variables
8. Block Structure
9. Initialization
10. Recursion
11. The C Preprocessor
1. File Inclusion
2. Macro Substitution
3. Conditional Inclusion
5. Chapter 5: Pointers and Arrays
1. Pointers and Addresses
2. Pointers and Function Arguments
(2 of 5) [5/15/2002 10:12:59 PM]
The C programming Language
3. Poi