Introduction to Computers and Programming | |
Why Program? | |
Computer Systems: Hardware and Software | |
Programs and Programming Languages | |
What Is a Program Made of? | |
Input, Processing, and Output | |
The Programming Process | |
Procedural and Object-Oriented Programming | |
Case Studies | |
Introduction to C++ | |
The Parts of a C++ Program | |
The cout Object | |
The #include Directive | |
Standard and Prestandard C++ | |
Variables, Constants, and the Assignment Statement | |
Identifiers | |
Integer Data Types | |
The char Data Type | |
The C++ string Class | |
Floating-Point Data Types | |
The bool Data Type | |
Determining the Size of a Data Type | |
More on Variable Assignments and Initialization | |
Scope | |
Arithmetic Operators | |
Comments | |
Focus on Software Engineering:Programming Style | |
Case Studies | |
Expressions and Interactivity | |
The cin Object | |
Mathematical Expressions | |
Implicit Type Conversion | |
Explicit Type Conversion | |
Overflow and Underflow | |
Named Constants | |
Multiple and Combined Assignment | |
Formatting Output | |
Working with Characters and String Objects | |
Using C-Strings | |
More Mathematical Library Functions | |
Introduction to Files | |
Focus on Object-Oriented Programming:Member Functions | |
Focus on Debugging:Hand Tracing a Program | |
Green Fields Landscaping Case Study-Part 1 | |
Making Decisions | |
Relational Operators | |
The if Statement | |
The if/else Statement | |
The if/else if Statement | |
Menus | |
Nested if Statements | |
Logical Operators | |
Validating User Input | |
More About Variable Definitions and Scope | |
Comparing Characters and Strings | |
The Conditional Operator | |
The switch Statement | |
Enumerated Data Types | |
Testing for File Open Errors | |
Focus on Testing and Debugging:Validating Output Results | |
Green Fields Landscaping Case Study-Part 2 | |
Additional Case Studies | |
Looping | |
The Increment and Decrement Operators | |
Introduction to Loops: The while Loop | |
Using the while Loop for Input Validation | |
Counters | |
The do-while Loop | |
The for Loop | |
Keeping a Running Total | |
Sentinels | |
Using a Loop to Read Data From a File | |
Focus on Software Engineering:Deciding Which Loop to Use | |
Nested Loops | |
Breaking Out of a Loop | |
The continue Statement | |
Focus on Testing and Debugging:Creating Good Test Data | |
Central Mountain Credit Union Case Study | |
Additional Case Studies | |
Functions | |
Modular Programming | |
Defining and Calling Functions | |
Function Prototypes | |
Sending Data into a Function | |
Passing Data by Value | |
The return Statement | |
Returning a Value from a Function | |
Returning a Boolean Value | |
Using Functions in a Menu-Driven Program | |
Local and Global Variables | |
Static Local Variables | |
Default Arguments | |
Using Reference Variables as Parameters | |
Overloading Functions | |
The exit() Function | |
Stubs and Drivers | |
Case Study: Little Lotto | |
Additional Case Studies | |
Introduction to Classes and Objects | |
Combining Data into Structures | |
Accessing Structure Members | |
Initializing a Structure | |
Nested Structures | |
Structures as Function Arguments | |
Returning a Structure from a Function | |
Unions | |
Abstract Data Types | |
Object-Oriented Programming | |
Introduction to Classes | |
Introduction to Objects | |
Defining Member Functions | |
Focus on | |
Table of Contents provided by Publisher. All Rights Reserved. |
The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.