s
menu
menu
Login  |  Register  |  Media Kit  |  Press  |  Site Map  |  Contact Us Digg It! Post to Del.icio.us Bookmark using any social bookmark manager!  Increase font-sizeDecrease font-sizeRestore default font-sizes



 
AddThis Social Bookmark Button
Table of Contents: Small C++ How to Program, 5/e

1Introduction to Computers, the Internet and World Wide Web1
   
1.1Introduction 2
1.2What Is a Computer? 3
1.3Computer Organization 4
1.4Early Operating Systems 5
1.5Personal, Distributed and Client/Server Computing 5
1.6The Internet and the World Wide Web 6
1.7Machine Languages, Assembly Languages and High-Level Languages 6
1.8History of C and C++ 8
1.9C++ Standard Library 8
1.1History of Java 9
1.11FORTRAN, COBOL, Pascal and Ada 10
1.12Basic, Visual Basic, Visual C++, C# and .NET 11
1.13Key Software Trend: Object Technology 11
1.14Typical C++ Development Environment 12
1.15Notes About C++ and Small C++ How to Program, 5/e 15
1.16Test-Driving a C++ Application 16
1.17Introduction to Object Technology and the UML 22
1.18Wrap-Up 27
1.19Web Resources 28
2Introduction to C++ Programming 36
2.1Introduction 37
2.2First Program in C++: Printing a Line of Text 37
2.3Modifying Our First C++ Program 41
2.4Another C++ Program: Adding Integers 42
2.5Memory Concepts 46
2.6Arithmetic 48
2.7Decision Making: Equality and Relational Operators 51
2.8Wrap-Up 56
3Introduction to Classes and Objects 65
3.1Introduction 66
3.2Classes, Objects, Member Functions and Data Members 66
3.3Overview of the Chapter Examples 68
3.4Defining a Class with a Member Function 68
3.5Defining a Member Function with a Parameter 72
3.6Data Members, set Functions and get Functions 75
3.7Initializing Objects with Constructors 82
3.8Placing a Class in a Separate File for Reusability 86
3.9Separating Interface from Implementation 90
3.1Validating Data with set Functions 96
3.11Wrap-Up 101
4Control Statements: Part 1 108
4.1Introduction 109
4.2Algorithms 109
4.3Pseudocode 110
4.4Control Structures 111
4.5if Selection Statement 115
4.6if else Double-Selection Statement 116
4.7while Repetition Statement 121
4.8Formulating Algorithms: Counter-Controlled Repetition 123
4.9Formulating Algorithms: Sentinel-Controlled Repetition 129
4.1Formulating Algorithms: Nested Control Statements 140
4.11Assignment Operators 145
4.12Increment and Decrement Operators 145
4.13Wrap-Up 149
5Control Statements: Part 2 164
5.1Introduction 165
5.2Essentials of Counter-Controlled Repetition 165
5.3for Repetition Statement 167
5.4Examples Using the for Statement 172
5.5do while Repetition Statement 176
5.6switch Multiple-Selection Statement 178
5.7break and continue Statements 188
5.8Logical Operators 190
5.9Confusing Equality (==) and Assignment (=) Operators 195
5.1Structured Programming Summary 196
5.11Wrap-Up 201
6Functions and an Introduction to Recursion 211
6.1Introduction 212
6.2Program Components in C++ 213
6.3Math Library Functions 214
6.4Function Definitions with Multiple Parameters 216
6.5Function Prototypes and Argument Coercion 221
6.6C++ Standard Library Header Files 223
6.7Case Study: Random Number Generation 225
6.8Case Study: Game of Chance and Introducing enum 231
6.9Storage Classes 235
6.1Scope Rules 238
6.11Function Call Stack and Activation Records 241
6.12Functions with Empty Parameter Lists 245
6.13Inline Functions 246
6.14References and Reference Parameters 248
6.15Default Arguments 253
6.16Unary Scope Resolution Operator 255
6.17Function Overloading 256
6.18Function Templates 259