Starting Out with C++ : Early Objects

by ; ;
  • ISBN13:


  • ISBN10:


  • Edition: 6th
  • Format: Paperback w/CD
  • Copyright: 2008-01-01
  • Publisher: Addison Wesley
  • View Upgraded Edition
  • Purchase Benefits
  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $132.40


KEY MESSAGE:InStarting Out with C++: Early Objects,Gaddis covers objects and classes early after functions and before arrays and pointers. As with all Gaddis texts, clear and easy-to-read code listings, concise and practical real-world examples, and an abundance of exercises appear in every chapter. Introduction to Computers and Programming; Introduction to C++; Expressions and Interactivity; Making Decisions; Looping; Functions; Introduction to Classes and Objects; Arrays; Searching and Sorting Arrays; Pointers; More About Classes and Object-Oriented Programming; More About Characters, Strings, and the string Class; Advanced File and I/O Operations; Recursion; Polymorphism, Virtual Functions, and Multiple Inheritance; Exceptions, Templates, and the Standard Template Library (STL); Linked Lists; Stacks and Queues; Binary Trees. This text is intended for either a one-semester accelerated introductory course or a traditional two-semester sequence covering C++ programming.

Table of Contents

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
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
Arithmetic Operators
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
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
The Increment and Decrement Operators
Introduction to Loops: The while Loop
Using the while Loop for Input Validation
The do-while Loop
The for Loop
Keeping a Running Total
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
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
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.

Rewards Program

Write a Review