Preface
Chapter 0
Startin from Zero
0.1 Why C?
0.2 ANSI C Standard
0.3 From C to C++
0.4 From C and C++ to Java
Chapter 1
An Overview of C
1.1 Programming and Preparation
1.2 Program Output
1.3 Variables,Expressions,and Assignment
1.4 The Use of #define and #include
1.5 The Use of prinft( )and scanf( )
1.6 Flow of Control
1.7 Function
Call-by-Vlaue
1.8 Arrays,Strins,and Pointers
1.9 Files
1.10 Operatin System Considerations
Writing and running a C Program
Interrupting a Program
Typing an End-of-file Signal
Summary
Exercises
Chapter 2
Lxcical elements,Operators,and the C System
2.1 Characters and Lexical Elements
2.2 Syntax Rules
2.3 Comments
2.4 Keywords
2.5 Identrfiers
2.6 Constants
2.7 String Constants
2.8 Operators and Punctuators
2.9 Precedence and Associativity of Operators
2.10 Increment and Decrement Operators
2.11 Assignment Operators
2.12 An Ezample: Computing Powers of 2
The Preprocessor
The Standard Library
Summary
Exercises
……
2.13