What Computers Do High-level Computer Languages and Compilers Using C: Seven Steps Programming Mechanics Language Standards How This Book Is Organized Conventions Used in This Book Summa
Trang 2C Primer Plus, Fifth Edition Table of Contents
Copyright
PREFACE
Approach and Goals
ABOUT THE AUTHOR
ACKNOWLEDGMENTS
WE WANT TO HEAR FROM YOU!
Chapter 1 Getting Ready
Whence C?
Why C?
Whither C?
Trang 3What Computers Do
High-level Computer Languages and Compilers
Using C: Seven Steps
Programming Mechanics
Language Standards
How This Book Is Organized Conventions Used in This Book Summary
Review Questions
Programming Exercise
Chapter 2 Introducing C
A Simple Example of C
The Example Explained
Trang 4The Structure of a Simple
Program
Tips on Making Your Programs Readable
Taking Another Step in Using C While You're at It-Multiple
Functions
Introducing Debugging
Keywords and Reserved
Identifiers
Key Concepts
Summary
Review Questions
Programming Exercises
Trang 5Chapter 3 Data and C
A Sample Program
Data Variables and Constants Data: Data-Type Keywords Basic C Data Types
Using Data Types
Arguments and Pitfalls
One More Example: Escape Sequences
Key Concepts
Summary
Review Questions
Programming Exercises
Chapter 4 Character Strings
Trang 6C source code 2nd
constants with int types
programs 2nd
text files
Trang 7[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [Z]
z modifier
printf( ) function
Zeno
zeno.c program (Listing 6.14) 2nd 3rd zippo1.c program
zippo1.c program (Listing 10.15) 2nd 3rd zippo2.c program (Listing 10.16) 2nd