PDA

View Full Version : [McGrawHill] C - the complete reference



nhc1987
27-02-2008, 01:13 AM
CONTENTS
Preface xxiii
Part I
Foundational C
1
An Overview of C
3
A Brief History of C 4
C Is a Middle-Level Language 5
C Is a Structured Language 6
C Is a Programmer's Language 8
Compilers Vs. Interpreters 9
The Form of a C Program 10
The Library and Linking 11
Separate Compilation 12
Compiling a C Program 13
C's Memory Map 13
C Vs. C++ 14
Review of Terms 15
Page vi
2
Expressions
17
The Basic Data Types 18
Modifying the Basic Types 18
Identifier Names 20
Variables 21
Where Variables Are Declared 21
Local Variables 22
Formal Parameters 25
Global Variables 26
The Four C Scopes 27
Type Qualifiers 28
const 28
volatile 30
Storage Class Specifiers 30
extern 31
static Variables 33
register Variables 35
Variable Initializations 36
Constants 37
Hexadecimal and Octal Constants 38
String Constants 38
Backslash Character Constants 39
Operators 40
The Assignment Operator 40
Arithmetic Operators 43
The Increment and Decrement Operators 44
Relational and Logical Operators 46
Bitwise Operators 48
The ? Operator 53
The & and * Pointer Operators 53
The Compile-Time Operator sizeof 55
The Comma Operator 56
The Dot (.) and Arrow (–>) Operators 56
The [ ] and ( ) Operators 57
Precedence Summary 58
Expressions 58
Order of Evaluation 58
Type Conversion in Expressions 59
Casts 60
Spacing and Parentheses 61
3
Statements
63
True and False in C 64
Page vii
Selection Statements 64
if 64
Nested ifs 66
The if-else-if Ladder 67
The ? Alternative 69
The Conditional Expression 72
switch 72
Nested switch Statements 75
Iteration Statements 76
The for Loop 76
for Loop Variations 77
The Infinite Loop 82
for Loops with No Bodies 82
Declaring Variables within a for Loop 83
The while Loop 83
The do-while Loop 86
Jump Statements 87
The return Statement 87
The goto Statement 88
The break Statement 89
The exit( ) Function 90
The continue Statement 91
Expression Statements 93
Block Statements 93
4

........

Download :


http://rapidshare.com/files/73765045/McGraw-Hill_-_C_-_The_Complete_Reference__4th_Ed.pdf

ledinhtung61
14-11-2008, 11:01 PM
rất trân thành cảm ơn nha !!! đây đúng là quyển mình đang cần !!! mượn thư viện có đúng 1 quyển xếp hàng cả tháng nay rồi

digitalboy
15-12-2008, 08:14 PM
Cảm ơn.
Theo mình thì bạn nên Upload lên các trang dễ download hơn như Box.net hay mediafire.com thì hay hơn.