| |
| |
Preface | |
| |
| |
| |
Introduction to Computers, the Internet and theWeb | |
| |
| |
Introduction | |
| |
| |
What Is a Computer? | |
| |
| |
Computer Organization | |
| |
| |
Early Operating Systems | |
| |
| |
Personal, Distributed and Client/Server Computing | |
| |
| |
Machine Languages, Assembly Languages and High-Level Languages | |
| |
| |
Fortran, COBOL, Pascal and Ada | |
| |
| |
History of C | |
| |
| |
C Standard Library | |
| |
| |
C++ | |
| |
| |
Java | |
| |
| |
BASIC, Visual Basic, Visual C++, Visual C# and .NET | |
| |
| |
Key Software Trend: Object Technology | |
| |
| |
Typical C Program Development Environment | |
| |
| |
Hardware Trends | |
| |
| |
History of the Internet | |
| |
| |
History of the World Wide Web | |
| |
| |
Notes About C and This Book | |
| |
| |
Web Resources | |
| |
| |
| |
Introduction to C Programming | |
| |
| |
Introduction | |
| |
| |
A Simple C Program: Printing a Line of Text | |
| |
| |
Another Simple C Program: Adding Two Integers | |
| |
| |
Memory Concepts | |
| |
| |
Arithmetic in C | |
| |
| |
Decision Making: Equality and Relational Operators | |
| |
| |
| |
Structured Program Development in C | |
| |
| |
Introduction | |
| |
| |
Algorithms | |
| |
| |
Contents | |
| |
| |
Contents | |
| |
| |
Pseudocode | |
| |
| |
Control Structures | |
| |
| |
The if Selection Statement | |
| |
| |
The ifelse Selection Statement | |
| |
| |
The while Repetition Statement | |
| |
| |
Formulating Algorithms | |
| |
| |
| |
Counter-Controlled Repetition | |
| |
| |
Formulating Algorithms with Top-Down, Stepwise Refinement | |
| |
| |
| |
Sentinel-Controlled Repetition | |
| |
| |
Formulating Algorithms with Top-Down, Stepwise Refinement | |
| |
| |
| |
Nested Control Structures | |
| |
| |
Assignment Operators | |
| |
| |
Increment and Decrement Operators | |
| |
| |
| |
C Program Control | |
| |
| |
Introduction | |
| |
| |
Repetition Essentials | |
| |
| |
Counter-Controlled Repetition | |
| |
| |
for Repetition Statement | |
| |
| |
for Statement: Notes and Observations | |
| |
| |
Examples Using the for Statement | |
| |
| |
switch Multiple-Selection Statement | |
| |
| |
dowhile Repetition Statement | |
| |
| |
break and continue Statements | |
| |
| |
Logical Operators | |
| |
| |
Confusing Equality (==) and Assignment (=) Operators | |
| |
| |
Structured Programming Summary | |
| |
| |
| |
C Functions | |
| |
| |
Introduction | |
| |
| |
Progra | |