did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781576760659

Brief Version of Starting Out With C++

by
  • ISBN13:

    9781576760659

  • ISBN10:

    1576760650

  • Edition: 3rd
  • Format: Paperback
  • Copyright: 2001-07-15
  • Publisher: Thomson Delmar Learning

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping Icon 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.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $65.95 Save up to $15.83
  • Rent Book $50.12
    Add to Cart Free Shipping Icon Free Shipping

    TERM
    PRICE
    DUE
    USUALLY SHIPS IN 24-48 HOURS
    *This item is part of an exclusive publisher rental program and requires an additional convenience fee. This fee will be reflected in the shopping cart.

Supplemental Materials

What is included with this book?

Summary

Starting Out with C++ Alternate teaches C++ from the ground up, and assumes no prior background in programming. In Starting Out With C++ Alternate, Gaddis makes a very detailed and slow-paced presentation of both programming and C++ syntax concepts so all readers will be able to follow along. This version of the text gives an early introduction to classes and objects. The book includes the hallmark pedagogocial features that readers of Gaddis books have come to expect. Readers who are new to programming, as well as those with prior work in other languages will find this text beneficial.

Table of Contents

Preface iii
Acknowledgments vii
About the Author ix
Introduction to Computers and Programming
1(28)
Why Program?
1(1)
Computer Systems: Hardware and Software
2(4)
Programs and Programming Languages
6(6)
What is a Program Made of?
12(4)
Input, Processing, and Output
16(1)
The Programming Process
17(4)
Procedural and Object-Oriented Programming
21(8)
Serendipity Booksellers Software Design Project---Part 1: A Problem-Solving Exercise
27(2)
Introduction to C++
29(52)
The Parts of a C++ Program
29(4)
The cout Object
33(5)
The #include Directive
38(2)
Variables and Constants
40(4)
Focus on Software Engineering: Identifiers
44(2)
Integer Data Types
46(4)
The char Data Type
50(5)
Floating Point Data Types
55(3)
The bool Data Type
58(1)
Focus on Software Engineering: Determining the Size of Data Types
59(1)
Focus on Software Engineering: Variable Assignments and Initialization
60(1)
Focus on Software Engineering: Scope
61(1)
Arithmetic Operators
62(4)
Comments
66(3)
Focus on Software Engineering: Programming Style
69(12)
Serendipity Booksellers Software Development Project---Part 2: A Problem-Solving Exercise
77(4)
Expressions and Interactivity
81(86)
The cin Object
81(8)
Focus on Software Engineering: Mathematical Expressions
89(8)
When You Mix Apples and Oranges: Type Coercion
97(2)
Overflow and Underflow
99(1)
The Typecast Operator
100(3)
The Power of Constants
103(5)
Multiple Assignment and Combined Assignment
108(6)
Formatting Output
114(15)
Formatted Input
129(5)
Focus on Object-Oriented Programming: More About Member Functions
134(1)
More Mathematical Library Functions
135(5)
Focus on Problem Solving: A Case Study
140(4)
Optional Section: Introduction to Simple File Input and Output
144(23)
Serendipity Booksellers Software Development Project---Part 3: A Problem-Solving Exercise
164(3)
Making Decisions
167(90)
Relational Operators
167(6)
The if Statement
173(6)
Flags
179(2)
Expanding the if Statement
181(4)
The if/else Statement
185(3)
The if/else if Statement
188(6)
Using a Trailing else
194(1)
Focus on Software Engineering: Menus
195(2)
Focus on Software Engineering: Nested if Statements
197(5)
Logical Operators
202(6)
Checking Numeric Ranges With Logical Operators
208(2)
Focus on Software Engineering: Validating User Input
210(2)
More About Variable Declarations and Scope
212(5)
Comparing Strings
217(6)
The Conditional Operator
223(5)
The switch Statement
228(9)
Focus on Problem Solving and Program Design: A Case Study
237(20)
Serendipity Booksellers Software Development Project---Part 4: A Problem-Solving Exercise
253(4)
Looping
257(50)
The Increment and Decrement Operators
257(5)
Introduction to Loops---The while Loop
262(4)
Counters
266(3)
Letting the User Control the Loop
269(1)
Keeping a Running Total
270(1)
Sentinels
271(3)
The do-while Loop and for Loops
274(10)
Focus on Software Engineering: Deciding Which Loop to Use
284(1)
Focus on Software Engineering: Nested Loops
284(3)
Breaking Out of a Loop
287(2)
The continue Statement
289(2)
Using Loops for Input Validation
291(2)
Focus on Problem Solving and Program Design: A Case Study
293(14)
Serendipity Booksellers Software Development Project---Part 5: A Problem Solving Exercise
306(1)
Functions
307(84)
Focus on Software Engineering: Breaking Up Your Programs
307(1)
Defining and Calling Functions
308(8)
Function Prototypes
316(2)
Sending Information Into a Function
318(4)
Changing the Value of a Parameter
322(2)
Focus on Software Engineering: Using Functions in a Menu-Driven Program
324(5)
The return Statement
329(2)
Returning a Value From a Function
331(4)
Returning Boolean Values
335(1)
Local and Global Variables
336(7)
Static Local Variables
343(4)
Default Arguments
347(4)
Using Reference Variables as Parameters
351(5)
Overloaded Functions
356(5)
The exit() Function
361(4)
Stubs and Drivers
365(2)
Focus on Problem Solving and Program Design: A Case Study
367(24)
Serendipity Booksellers Software Development Project---Part 6: A Problem-Solving Exercise
387(4)
Arrays
391(72)
Arrays Hold Multiple Values
391(2)
Accessing Array Elements
393(5)
No Bounds Checking in C++
398(2)
Array Initialization
400(7)
Processing Array Contents
407(3)
Focus on Software Engineering: Using Parallel Arrays
410(4)
Thou Shall Not Assign
414(1)
Printing the Contents of an Array
415(1)
Arrays as Function Arguments
416(7)
Two-dimensional Arrays
423(6)
Arrays of Strings
429(2)
Focus on Problem Solving and Program Design: A Case Study
431(2)
Focus on Problem Solving and Program Design: A Case Study
433(6)
If You Plan to Continue in Computer Science: Introduction to the STL vector
439(24)
Serendipity Booksellers Software Development Project---Part 7: A Problem-Solving Exercise
459(4)
Searching and Sorting Arrays
463(42)
Focus on Software Engineering: Introduction to Search Algorithms
463(6)
Focus on Problem Solving and Program Design: A Case Study
469(8)
Focus on Software Engineering: Introduction to Sorting Algorithms
477(8)
Focus on Problem Solving and Program Design: A Case Study
485(8)
If You Plan to Continue in Computer Science: Sorting and Searching vectors
493(12)
(Continued from Section 7.13.)
493(8)
Serendipity Booksellers Software Development Project---Part 8: A Problem-Solving Exercise
501(4)
Pointers
505(40)
Getting the Address of a Variable
505(2)
Pointer Variables
507(3)
The Relationship Between Arrays and Pointers
510(4)
Pointer Arithmetic
514(2)
Initializing Pointers
516(2)
Comparing Pointers
518(1)
Pointers as Function Parameters
519(5)
Focus on Software Engineering: Dynamic Memory Allocation
524(4)
Focus on Software Engineering: Returning Pointers from Functions
528(3)
Focus on Problem Solving and Program Design: A Case Study
531(14)
Serendipity Booksellers Software Development Project---Part 9: A Problem-Solving Exercise
542(3)
Characters, Strings, and the string Class
545(58)
Character Testing
545(5)
Character Case Conversion
550(2)
Review of the Internal Storage of C-Strings
552(4)
Library Functions for Working with C-Strings
556(6)
String/Numeric Conversion Functions
562(3)
Focus on Software Engineering: Writing Your Own C-String-Handling Functions
565(6)
Focus on Problem Solving and Program Design: A Business Case Study
571(13)
The C++ string Class
584(10)
Focus on Problem Solving and Program Design: A Case Study
594(9)
Serendipity Booksellers Software Development Project---Part 10: A Problem-Solving Exercise
601(2)
Structured Data
603(72)
Abstract Data Types
603(2)
Focus on Software Engineering: Combining Data into Structures
605(4)
Accessing Structure Members
609(4)
Initializing a Structure
613(3)
Arrays of Structures
616(3)
Focus on Software Engineering: Nested Structures
619(4)
Structures as Function Arguments
623(5)
Returning a Structure from a Function
628(3)
Pointers to Structures
631(4)
Focus on Software Engineering: When to Use . , When to Use - >, and When to Use*
635(2)
Unions
637(5)
Focus on Problem Solving and Program Design: A Case Study
642(33)
Serendipity Booksellers Software Development Project---Part 11: A Problem-Solving Exercise
672(3)
File Operations
675(78)
What is a File?
675(1)
File Names
676(1)
Focus on Software Engineering: The Process of Using a File
677(1)
Setting Up a Program for File Input/Output
678(1)
Opening a File
679(5)
Closing a File
684(2)
Using << to Write Information to a File
686(3)
File Output Formatting
689(2)
Using >> to Read Information from a File
691(2)
Detecting the End of a File
693(1)
Passing File Stream Objects to Functions
694(3)
More Detailed Error Testing
697(2)
Member Functions for Reading and Writing Files
699(8)
Focus on Software Engineering: Working with Multiple Files
707(2)
Binary Files
709(2)
Creating Records with Structures
711(5)
Random Access Files
716(6)
Opening a File for Both Input and Output
722(4)
Focus on Problem Solving and Program Design: A Case Study
726(27)
Serendipity Booksellers Software Development Project---Part 12: A Problem-Solving Exercise
751(2)
Introduction to Classes
753(78)
Procedural and Object-Oriented Programming
753(5)
Introduction to the Class
758(3)
Defining Member Functions
761(1)
Defining an Instance of a Class
762(4)
Why Have Private Members?
766(1)
Focus on Software Engineering: Some Design Considerations
767(3)
Focus on Software Engineering: Using Private Member Functions
770(2)
Inline Member Functions
772(3)
Constructors
775(4)
Destructors
779(2)
Constructors that Accept Arguments
781(4)
Focus on Software Engineering: Input Validation Objects
785(3)
Overloaded Constructors
788(2)
Only One Default Constructor and One Destructor
790(1)
Arrays of Objects
791(4)
Focus on Problem Solving and Program Design: An OOP Case Study
795(7)
Focus on Object-Oriented Programming: Creating an Abstract Array Data Type
802(4)
Focus on Object-Oriented Programming: Extending the Abstract Array Data Type
806(9)
If You Plan to Continue in Computer Science: An Object-Oriented System Development Primer
815(16)
Serendipity Booksellers Software Development Project---Part 13: A Problem-Solving Exercise
830(1)
More About Classes
831(86)
Static Members
831(7)
Friends of Classes
838(5)
Memberwise Assignment
843(2)
Copy Constructors
845(4)
Operator Overloading
849(37)
Object Conversion
886(6)
Creating a String Class
892(12)
Object Composition
904(13)
Serendipity Booksellers Software Development Project---Part 14: A Problem-Solving Exercise
914(3)
Inheritance, Polymorphism, and Virtual Functions
917(62)
What is Inheritance?
917(7)
Protected Members and Class Access
924(7)
Constructors and Destructors
931(6)
Overriding Base Class Functions
937(5)
Polymorphism and Virtual Member Functions
942(5)
Abstract Base Classes and Pure Virtual Functions
947(4)
Base Class Pointers
951(4)
Classes Derived from Derived Classes
955(3)
Multiple Inheritance
958(21)
Serendipity Booksellers Software Development Project---Part 15: A Problem-Solving Exercise
976(3)
Appendix A---The ASCII Character Set 979(3)
Appendix B---Operator Precedence and Associativity 982(1)
Appendix C---Introduction to Flowcharting 983(10)
Appendix D---The Enumerated Data Type 993(4)
Appendix E---Namespaces 997(4)
Appendix F---Creating a Boolean Data Type 1001(2)
Appendix G---Passing Command Line Arguments 1003(3)
Appendix H---Header File and Library Function Reference 1006(13)
Appendix I---Bitwise Operations and Binary Integer Forms 1019(10)
Appendix J---Multi-Source File Programs 1029(4)
Appendix K---Introduction to Microsoft Visual C++ 6.0 1033(10)
Appendix L---Introduction to Borland C++ Builder 5.0 1043(10)
Appendix M---Linked List 1053(16)
Appendix N---Recursion 1069(7)
Appendix O---Answers to Checkpoints 1076(37)
Appendix P---Solutions to Odd Numbered Review Questions 1113(17)
Appendix Q---C++ Quick Reference 1130(3)
Index 1133

Supplemental Materials

What is included with this book?

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.

Rewards Program