CART

(0) items

A First Book of C++: From Here to There,9780534368012
This item qualifies for
FREE SHIPPING!
FREE SHIPPING OVER $59!

Your order must be $59 or more, you must select US Postal Service Shipping as your shipping preference, and the "Group my items into as few shipments as possible" option when you place your order.

Bulk sales, PO's, Marketplace Items, eBooks, Apparel, and DVDs not included.

A First Book of C++: From Here to There

by
Edition:
2nd
ISBN13:

9780534368012

ISBN10:
0534368018
Format:
Paperback
Pub. Date:
6/25/1999
Publisher(s):
Course Technology

Related Products


  • A First Book of C++
    A First Book of C++
  • A First Book of C++, 4th Edition
    A First Book of C++, 4th Edition
  • A First Book of C++, From Here to There
    A First Book of C++, From Here to There





Summary

The Second Edition of Gary Bronson's highly successful book takes a hands-on, applications approach to CS1. The book begins with procedural programming in C, and then gradually introduces object-oriented programming features and the C++ language syntax that enables first-time programmers to use them.

Table of Contents

PART ONE Fundamentals 1(285)
Getting Started
3(30)
Introduction to Programming
4(10)
Algorithms and Procedures
6(4)
Classes and Objects
10(1)
Program Translation
11(3)
Function and Class Names
14(6)
The main () Function
17(3)
The cout Object
20(4)
Programming Style
24(5)
Comments
26(3)
Common Programming Errors
29(1)
Chapter Summary
30(3)
Data Types, Declarations, and Displays
33(54)
Data Types
34(7)
Integer Values
34(1)
Floating-Point Numbers
35(1)
Exponential Notation
36(1)
Character Values
37(2)
Escape Sequences
39(2)
Arithmetic Operators
41(5)
Integer Division
42(1)
Negation
43(1)
Operator Precedence and Associativity
43(3)
Numerical Output Using cout
46(14)
Formatted Output
48(12)
Variables and Declarations
60(16)
Declaration Statements
62(4)
Multiple Declarations
66(2)
Reference Variables
68(2)
Specifying Storage Allocation
70(6)
Integer Qualifiers
76(5)
Converting Among Data Types
78(1)
Determining Storage Size
79(2)
Common Programming Errors
81(1)
Chapter Summary
82(1)
Chapter Supplement: Bits, Bytes, Addresses, and Number Codes
83(4)
Words and Addresses
83(1)
Twos Complement Numbers
84(3)
Assignment and Interactive Input
87(38)
Assignment Operators
88(13)
Assignment Variations
93(2)
Accumulating
95(2)
Counting
97(4)
Mathematical Library Functions
101(7)
Casts
106(2)
Program Input Using the cin Object
108(9)
The const Qualifier
117(4)
Placement of Statements
119(2)
Common Programming Errors
121(1)
Chapter Summary
122(3)
Selection
125(46)
Relational Expressions
126(7)
Logical Operators
128(3)
A Numeric Accuracy Problem
131(2)
The if-else Statement
133(12)
Compound Statements
135(4)
Block Scope
139(1)
One-Way Selection
140(1)
Problems Associated with the if-else Statement
141(4)
Nested if Statements
145(8)
The if-else Chain
146(7)
The switch Statement
153(6)
Common Programming Errors
159(1)
Chapter Summary
160(3)
Chapter Supplement: Errors, Testing, and Debugging
163(8)
Compile-Time and Run-Time Errors
163(1)
Syntax and Logic Errors
163(3)
Testing and Debugging
166(5)
Repetition
171(46)
The while Statement
172(9)
cin within a while Loop
181(12)
Sentinels
188(2)
break and continue Statements
190(1)
The Null Statement
191(2)
The for Statement
193(16)
cin within a for Loop
201(1)
Nested Loops
202(7)
The do Statement
209(3)
Validity Checks
211(1)
Common Programming Errors
212(2)
Chapter Summary
214(3)
Modularity Using Functions
217(68)
Function and Parameter Declarations
218(22)
Function Prototypes
220(1)
Calling a Function
221(1)
Defining a Function
222(5)
Placement of Statements
227(1)
Function Stubs
228(1)
Functions with Empty Parameter Lists
229(1)
Default Arguments
230(1)
Function Templates
231(6)
Reusing Function Names (Overloading)
237(3)
Returning a Single Value
240(11)
Inline Functions
247(4)
Pass by Reference
251(10)
Passing and Using Reference Parameters
252(9)
Variable Scope
261(9)
Scope Resolution Operator
265(2)
Misuse of Globals
267(3)
Variable Storage Class
270(9)
Local Variable Storage Classes
271(4)
Global Variable Storage Classes
275(4)
Common Programming Errors
279(1)
Chapter Summary
280(2)
Chapter Supplement: Generating Random Numbers
282(3)
Scaling
284(1)
PART TWO Data Structures 285(184)
Arrays
287(52)
One-Dimensional Arrays
288(12)
Input and Output of Array Values
293(7)
Array Initialization
300(4)
Arrays as Arguments
304(6)
Two-Dimensional Arrays
310(10)
Larger-Dimensional Arrays
317(3)
Common Programming Errors
320(1)
Chapter Summary
321(1)
Chapter Supplement: Searching and Sorting Methods
322(17)
Search Algorithms
322(1)
Linear Search
322(3)
Binary Search
325(5)
Big O Notation
330(1)
Sort Algorithms
330(1)
Selection Sort
330(4)
Exchange (``Bubble'') Sort
334(5)
Pointers
339(48)
Addresses and Pointers
340(12)
Storing Addresses
343(1)
Using Addresses
344(1)
Declaring Pointers
345(3)
References and Pointers
348(4)
Array Names as Pointers
352(9)
Dynamic Array Allocation
358(3)
Pointer Arithmetic
361(6)
Pointer Initialization
366(1)
Passing Addresses
367(15)
Passing Arrays
373(4)
Advanced Pointer Notation
377(5)
Common Programming Errors
382(2)
Chapter Summary
384(3)
Character Strings
387(38)
String Fundamentals
388(8)
String Input and Output
389(2)
String Processing
391(2)
Character-by-Character Input
393(3)
Pointers and Library Functions
396(15)
Library Functions
401(5)
Character Routines
406(2)
Conversion Routines
408(3)
String Definitions and Pointer Arrays
411(7)
Pointer Arrays
413(5)
Common Programming Errors
418(1)
Chapter Summary
419(1)
Chapter Supplement: A String Data Type
420(5)
Records as Data Structures
425(44)
Single Records
426(7)
Arrays of Records
433(4)
Record Structures as Function Arguments
437(10)
Passing a Pointer
441(3)
Returning Structures
444(3)
Linked Lists
447(10)
Dynamic Structure Allocation
457(7)
Unions
464(3)
Common Programming Errors
467(1)
Chapter Summary
467(2)
PART THREE Object-Oriented Programming 469(178)
Introduction to Classes
471(52)
Object-Based Programming
472(5)
Classes
477(14)
Class Construction
478(9)
Terminology
487(4)
Constructors
491(12)
Calling Constructors
494(1)
Overloaded and Inline Constructors
495(4)
Destructors
499(1)
Arrays of Objects
500(3)
Example
503(11)
Example 1: Constructing an Elevator Object
503(5)
Example 2: A Single-Object Gas Pump Simulation
508(6)
Common Programming Errors
514(1)
Chapter Summary
515(2)
Chapter Supplement: Insides and Outsides
517(6)
Abstraction and Encapsulation
520(1)
Code Reuse and Extensibility
520(3)
Additional Class Capabilities
523(36)
Assignment
524(9)
Copy Constructors
528(3)
Base/Member Initialization
531(2)
Pointers as Class Members
533(9)
Assignment Operators and Copy Constructors Reconsidered
540(2)
Additional Class Features
542(14)
Class Scope
543(1)
Static Members
543(5)
The this Pointer
548(3)
Friend Functions
551(5)
Common Programming Errors
556(1)
Chapter Summary
557(2)
Class Functions, Conversions, and Inheritance
559(46)
Operator Functions
560(13)
Operator Functions as Friends
567(2)
The Assignment Operator Revisited
569(4)
Two Useful Alternatives---operator[] and operator ()
573(5)
Data Type Conversions
578(10)
Conversion from Built-in to Built-in
579(1)
Conversion from Built-in to Class
579(2)
Conversion from Class to Built-in
581(2)
Conversion from Class to Class
583(5)
Class Inheritance and Polymorphism
588(14)
Inheritance
588(2)
Access Specifications
590(1)
An Example
591(5)
Polymorphism
596(6)
Common Programming Errors
602(1)
Chapter Summary
602(3)
I/O File Streams and Data Files
605(42)
I/O File Stream Objects and Methods
606(14)
Files
606(2)
File Stream Objects and Modes
608(1)
File Stream Methods
609(5)
Embedded and Interactive File Names
614(5)
Closing a File
619(1)
Reading from and Writing to Files
620(10)
Standard Device Files
627(1)
Other Devices
628(2)
Random File Access
630(5)
File Streams as Function Arguments
635(3)
Common Programming Errors
638(1)
Chapter Summary
639(1)
Chapter Supplement: The iostream Class Library
640(7)
File Stream Transfer Mechanism
641(1)
Components of the iostream Class Library
642(1)
In-Memory Formatting
643(4)
APPENDIXES 647(148)
A. Operator Precedence Table
648(1)
B. ASCII Character Codes
649(1)
C. Using Visual C++, Version 5.0
650(12)
D. Using Visual C++, Version 6.0
662(12)
E. Using Borland's C++ Builder
674(3)
F. Bit Operations
677(14)
G. Linked Lists Using Classes
691(11)
H. Namespaces
702(3)
I. The Standard Template Library
705(8)
J. Solutions to Selected Odd-Numbered Exercises
713(82)
Index 795


Please wait while the item is added to your cart...