C++ Coach : Essentials for Introductory Programming

by
Format: Paperback
Pub. Date: 2001-01-01
Publisher(s): Addison Wesley
List Price: $120.27

Rent Textbook

Select for Price
There was a problem. Please try again later.

New Textbook

We're Sorry
Sold Out

Used Textbook

We're Sorry
Sold Out

eTextbook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

By the end of this book, readers will have a firm understanding of C++ syntax and problem-solving skills. Its premise is the same one that successful coaches have using for centuries: the more you practice a skill, the better your mastery of that skill becomes. Concepts are presented and then practiced repeatedly in the form of drills that explore the subtleties of the syntax. These drills are supplemented with real-world examples of programming problems, from the world of business, which build upon knowledge gained from these drills. Once a set of skills is mastered, more advanced concepts are presented and practiced.This book is organized into three sections. The first section provides a basic understanding of programming constructs: variables, operators, conditional statements, loops, and functions. These constructs are used to develop programs that solve relatively simple problems. The focus is on mastery of basic C++ syntax. The second section concentrates on additional features of C++ such as arrays, structures, classes, pointers, and files. The third section discusses the benefits and implementations of some simple C++ data structures to help the reader appreciate the issues of performance when dealing with real-world problems.This is the ideal book for any beginning programmer who plans to use a computer for information acquisition and processing.

Author Biography

Jeff Salvage teaches both Computer Science and Information systems students in the Math and Computer Science department at Drexel University.

Table of Contents

Preface ix
PART 1 FUNDAMENTALS 1(214)
Introduction
1(8)
What Is a Programming Language?
1(1)
Earliest Computer Languages
1(1)
Early Attempts at New Languages
2(1)
Next Generation Languages
3(1)
Object-Oriented Languages
3(1)
Basic Algorithms
4(5)
Fundamental C++ Programming
9(44)
Our First Program
9(6)
Simple Operators
15(3)
Variables
18(4)
Comments
22(4)
Simple Input
26(1)
Constants
27(1)
Types of Errors
28(3)
Characters
31(1)
Type Conversions
32(2)
Complex Operators
34(5)
Order of Precedence Chart
39(1)
Case Study
40(13)
Conditional Statements
53(72)
If Statements
53(12)
Else and Else If Statements
65(8)
Compound Conditional Statements
73(3)
Nested Conditional Statements
76(4)
Subtle Expression Evaluation
80(4)
Short Circuit Conditional Evaluation
84(4)
Switch Statements
88(7)
Bool Data Type
95(5)
Case Study
100(25)
Loops
125(50)
For Loops
125(9)
While Loops
134(5)
Do Loops
139(6)
Nested Loops
145(4)
Early Loop Termination---Break and Continue Keywords
149(3)
Case Study
152(23)
Functions
175(40)
Defining a Function
175(2)
Parameters and Return Values
177(4)
Local Variables
181(1)
Scope
182(4)
Extending the Language
186(12)
Pass By Reference
198(2)
Decision-Making Functions
200(3)
Case Study
203(12)
PART 2 ADVANCED CONSTRUCTS 215(236)
Simple Arrays
215(40)
Declaring an Array
216(8)
Array Shortcuts
224(7)
Character Arrays
231(2)
Multidimensional Arrays
233(5)
Multidimensional Arrays of Characters
238(4)
Case Study
242(13)
Simple Arrays Applications
255(58)
String Functions
255(18)
Linear Search
273(3)
Bubble Sort
276(5)
Insertion Sort
281(4)
Files
285(11)
Case Study
296(17)
Advanced Application of Arrays
313(32)
Recursive Functions
313(7)
Binary Search
320(6)
Quick Sort
326(9)
Case Study
335(10)
Pointers
345(52)
Pointers---Why Do We Need Them?
345(2)
Declaring Pointers
347(10)
Arrays as Pointers
357(4)
String Functions Rewritten as Pointers
361(13)
Dynamic Memory and Pointers
374(8)
Deleting Memory
382(2)
Case Study
384(13)
Structures and Basic Classes
397(26)
Defining a Structure
398(6)
Arrays of Structure
404(1)
Concept of a Class
405(1)
Defining a Class
405(5)
Case Study
410(13)
More on Classes
423(28)
Other Benefits of Classes
423(4)
Dynamic Memory and Classes
427(2)
Vector Class
429(3)
String Class
432(2)
Code Reuse via Composition and Inheritance
434(7)
Case Study
441(10)
PART 3 DATA STRUCTURES 451(166)
Stacks
453(16)
Why Do We Need Stacks?
453(1)
How Does a Stack Operate?
454(4)
Stack Class Implementation
458(4)
Case Study
462(7)
Queues
469(14)
Why Do We Need Queues?
469(1)
How Does a Queue Operate?
470(2)
Queue Class Implementation
472(4)
Case Study
476(7)
Linked Lists
483(58)
What Is a Linked List?
483(10)
Linked List Class Implementation
493(29)
Header Node Linked List Implementation
522(12)
Case Study
534(7)
Trees
541(48)
What Is a Binary Search Tree?
541(6)
Binary Tree Class Implementation
547(30)
Case Study
577(12)
Hash Tables
589(28)
What Is a Hash Table?
589(1)
How Does a Hash Table Operate?
590(13)
Hash Table Class Implementation
603(4)
Case Study
607(10)
Appendix A Quality Programming 617(2)
Appendix B ASCII Character Set 619(2)
Appendix C Commonly Used C++ Input/Output Techniques 621(32)
Bibliography 653(2)
Index 655

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.