简介
The complete, authoritative DEITEL¨ LIVE-CODE introduction to C++, object-oriented programming (OOP) and object-oriented design (OOD) with the UML? 2
C++ is one of the most popular object-oriented programming languages. This new edition of the world’s most widely used C++ textbook introduces game programming with the Ogre libraries.
"An excellent ‘objects first’ coverage of C++ that remains accessible to beginners. The example-driven presentation is enriched by the optional UML case study that contextualizes the material in an ongoing software engineering project."–Gavin Osborne, Saskatchewan Institute of Applied Science and Technology
"Introducing the UML to students early on is a great idea."–Raymond Stephenson, Microsoft
"Good use of diagrams, especially of the activation call stack and recursive functions."–Amar Raheja, California State Polytechnic University, Pomona
"Terrific discussion of pointers—probably the best I have seen."–Anne B. Horton, Lockheed Martin
"Great coverage of polymorphism and how the compiler implements polymorphism ‘under the hood.’ I wish I had such a clear presentation of data structures when I was a student."–Ed James-Beckham, Borland
"Includes a nice introduction to searching and sorting, and Big-O."–Robert Myers, Florida State University
"Ogre is a free world-class rendering engine that has been used in several commercial games. The Ogre chapter is
a great introduction, providing well documented and easy to understand examples that will have you creating your own simple computer games in no time! "–Casey Borders (Creator of OgreAL), Sensis Corp.
"Getting a new user to the stage of creating a functional and playable Ogre-based computer game in 40 pages is a great achievement."–Steve Streeting (Creator of Ogre), Torus Knot Software Ltd.
" The Boost/C++0x chapter will get you up and running quickly with memory management and regular expression libraries, plus whet your appetite for new C++ features being standardized."–Ed Brey, Kohler Co.
"Excellent introduction to the Standard Template Library (STL). The best book on C++ programming for the serious student!"–Richard Albright, Goldey-Beacom College
"Just when you think you are focused on learning one topic, suddenly you discover you’ve learned more than you expected."–Chad Willwerth, University of Washington, Tacoma
"The most thorough C++ treatment of I’ve seen. Replete with real-world case studies covering the full software development lifecycle. Code examples are extraordinary!" –Terrell Hull, Logicalis Integration Solutions
C++ How to Program, 6/e, provides a comprehensive coverage of object-oriented programming in C++, including several major integrated case studies: the GradeBook class, the Time class, the Employee class and the optional OOD/UML? 2 ATM System.
目录
Copyright
Deitel庐 Series Page
Deitel Resource Centers
Preface
Acknowledgments
About the Authors
Before You Begin
Download Chapter
1 Token Chapter 1.聽Introduction to Computers, the Internet and the World Wide Web Section 1.1.聽Introduction
Section 1.2.聽What Is a Computer?
Section 1.3.聽Computer Organization
Section 1.4.聽Early Operating Systems
Section 1.5.聽Personal, Distributed and Client/Server Computing
Section 1.6.聽The Internet and the World Wide Web
Section 1.7.聽Web 2.0
Section 1.8.聽Machine Languages, Assembly Languages and High-Level Languages
Section 1.9.聽History of C and C++
Section 1.10.聽C++ Standard Library
Section 1.11.聽History of Java
Section 1.12.聽Fortran, COBOL, Pascal and Ada
Section 1.13.聽BASIC, Visual Basic, Visual C++, C# and .NET
Section 1.14.聽Key Software Trend: Object Technology
Section 1.15.聽Typical C++ Development Environment
Section 1.16.聽Notes About C++ and C++ How to Program, 6/e
Section 1.17.聽Test-Driving a C++ Application
Section 1.18.聽Software Technologies
Section 1.19.聽Game Programming with the Ogre Libraries
Section 1.20.聽Future of C++: Open Source Boost Libraries, TR1 and C++0x
Section 1.21.聽Software Engineering Case Study: Introduction to Object Technology and the UML
Section 1.22.聽Wrap-Up
Section 1.23.聽Web Resources
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 2.聽Introduction to C++ Programming Section 2.1.聽Introduction
Section 2.2.聽First Program in C++: Printing a Line of Text
Section 2.3.聽Modifying Our First C++ Program
Section 2.4.聽Another C++ Program: Adding Integers
Section 2.5.聽Memory Concepts
Section 2.6.聽Arithmetic
Section 2.7.聽Decision Making: Equality and Relational Operators
Section 2.8.聽(Optional) Software Engineering Case Study: Examining the ATM Requirements Specification
Section 2.9.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 3.聽Introduction to Classes and Objects Section 3.1.聽Introduction
Section 3.2.聽Classes, Objects, Member Functions and Data Members
Section 3.3.聽Overview of the Chapter Examples
Section 3.4.聽Defining a Class with a Member Function
Section 3.5.聽Defining a Member Function with a Parameter
Section 3.6.聽Data Members, set Functions and get Functions
Section 3.7.聽Initializing Objects with Constructors
Section 3.8.聽Placing a Class in a Separate File for Reusability
Section 3.9.聽Separating Interface from Implementation
Section 3.10.聽Validating Data with set Functions
Section 3.11.聽(Optional) Software Engineering Case Study: Identifying the Classes in the ATM Requirements Specification
Section 3.12.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 4.聽Control Statements: Part 1 Section 4.1.聽Introduction
Section 4.2.聽Algorithms
Section 4.3.聽Pseudocode
Section 4.4.聽Control Structures
Section 4.5.聽if Selection Statement
Section 4.6.聽if...else Double-Selection Statement
Section 4.7.聽while Repetition Statement
Section 4.8.聽Formulating Algorithms: Counter-Controlled Repetition
Section 4.9.聽Formulating Algorithms: Sentinel-Controlled Repetition
Section 4.10.聽Formulating Algorithms: Nested Control Statements
Section 4.11.聽Assignment Operators
Section 4.12.聽Increment and Decrement Operators
Section 4.13.聽(Optional) Software Engineering Case Study: Identifying Class Attributes in the ATM System
Section 4.14.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 5.聽Control Statements: Part 2 Section 5.1.聽Introduction
Section 5.2.聽Essentials of Counter-Controlled Repetition
Section 5.3.聽for Repetition Statement
Section 5.4.聽Examples Using the for Statement
Section 5.5.聽do...while Repetition Statement
Section 5.6.聽switch Multiple-Selection Statement
Section 5.7.聽break and continue Statements
Section 5.8.聽Logical Operators
Section 5.9.聽Confusing the Equality (==) and Assignment (=) Operators
Section 5.10.聽Structured Programming Summary
Section 5.11.聽(Optional) Software Engineering Case Study: Identifying Objects鈥?States and Activities in the ATM System
Section 5.12.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 6.聽Functions and an Introduction to Recursion Section 6.1.聽Introduction
Section 6.2.聽Program Components in C++
Section 6.3.聽Math Library Functions
Section 6.4.聽Function Definitions with Multiple Parameters
Section 6.5.聽Function Prototypes and Argument Coercion
Section 6.6.聽C++ Standard Library Header Files
Section 6.7.聽Case Study: Random Number Generation
Section 6.8.聽Case Study: Game of Chance; Introducing enum
Section 6.9.聽Storage Classes
Section 6.10.聽Scope Rules
Section 6.11.聽Function Call Stack and Activation Records
Section 6.12.聽Functions with Empty Parameter Lists
Section 6.13.聽Inline Functions
Section 6.14.聽References and Reference Parameters
Section 6.15.聽Default Arguments
Section 6.16.聽Unary Scope Resolution Operator
Section 6.17.聽Function Overloading
Section 6.18.聽Function Templates
Section 6.19.聽Recursion
Section 6.20.聽Example Using Recursion: Fibonacci Series
Section 6.21.聽Recursion vs. Iteration
Section 6.22.聽(Optional) Software Engineering Case Study: Identifying Class Operations in the ATM System
Section 6.23.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 7.聽Arrays and Vectors Section 7.1.聽Introduction
Section 7.2.聽Arrays
Section 7.3.聽Declaring Arrays
Section 7.4.聽Examples Using Arrays
Section 7.5.聽Passing Arrays to Functions
Section 7.6.聽Case Study: Class GradeBook Using an Array to Store Grades
Section 7.7.聽Searching Arrays with Linear Search
Section 7.8.聽Sorting Arrays with Insertion Sort
Section 7.9.聽Multidimensional Arrays
Section 7.10.聽Case Study: Class GradeBook Using a Two-Dimensional Array
Section 7.11.聽Introduction to C++ Standard Library Class Template vector
Section 7.12.聽(Optional) Software Engineering Case Study: Collaboration Among Objects in the ATM System
Section 7.13.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Recursion Exercises
vector Exercises
Download Chapter
1 Token Chapter 8.聽Pointers and Pointer-Based Strings Section 8.1.聽Introduction
Section 8.2.聽Pointer Variable Declarations and Initialization
Section 8.3.聽Pointer Operators
Section 8.4.聽Passing Arguments to Functions by Reference with Pointers
Section 8.5.聽Using const with Pointers
Section 8.6.聽Selection Sort Using Pass-by-Reference
Section 8.7.聽sizeof Operator
Section 8.8.聽Pointer Expressions and Pointer Arithmetic
Section 8.9.聽Relationship Between Pointers and Arrays
Section 8.10.聽Arrays of Pointers
Section 8.11.聽Case Study: Card Shuffling and Dealing Simulation
Section 8.12.聽Function Pointers
Section 8.13.聽Introduction to Pointer-Based String Processing
Section 8.14.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Special Section: Building Your Own Computer
More Pointer Exercises
String-Manipulation Exercises
Special Section: Advanced String-Manipulation Exercises
A Challenging String-Manipulation Project
Download Chapter
1 Token Chapter 9.聽Classes: A Deeper Look, Part 1 Section 9.1.聽Introduction
Section 9.2.聽Time Class Case Study
Section 9.3.聽Class Scope and Accessing Class Members
Section 9.4.聽Separating Interface from Implementation
Section 9.5.聽Access Functions and Utility Functions
Section 9.6.聽Time Class Case Study: Constructors with Default Arguments
Section 9.7.聽Destructors
Section 9.8.聽When Constructors and Destructors Are Called
Section 9.9.聽Time Class Case Study: A Subtle Trap鈥擱eturning a Reference to a private Data Member
Section 9.10.聽Default Memberwise Assignment
Section 9.11.聽(Optional) Software Engineering Case Study: Starting to Program the Classes of the ATM System
Section 9.12.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 10.聽Classes: A Deeper Look, Part 2 Section 10.1.聽Introduction
Section 10.2.聽const (Constant) Objects and const Member Functions
Section 10.3.聽Composition: Objects as Members of Classes
Section 10.4.聽friend Functions and friend Classes
Section 10.5.聽Using the this Pointer
Section 10.6.聽Dynamic Memory Management with Operators new and delete
Section 10.7.聽static Class Members
Section 10.8.聽Data Abstraction and Information Hiding
Section 10.9.聽Container Classes and Iterators
Section 10.10.聽Proxy Classes
Section 10.11.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 11.聽Operator Overloading; String and Array Objects Section 11.1.聽Introduction
Section 11.2.聽Fundamentals of Operator Overloading
Section 11.3.聽Restrictions on Operator Overloading
Section 11.4.聽Operator Functions as Class Members vs. Global Functions
Section 11.5.聽Overloading Stream Insertion and Stream Extraction Operators
Section 11.6.聽Overloading Unary Operators
Section 11.7.聽Overloading Binary Operators
Section 11.8.聽Case Study: Array Class
Section 11.9.聽Converting between Types
Section 11.10.聽Case Study: String Class
Section 11.11.聽Overloading ++ and --
Section 11.12.聽Case Study: A Date Class
Section 11.13.聽Standard Library Class string
Section 11.14.聽explicit Constructors
Section 11.15.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 12.聽Object-Oriented Programming: Inheritance Section 12.1.聽Introduction
Section 12.2.聽Base Classes and Derived Classes
Section 12.3.聽protected Members
Section 12.4.聽Relationship between Base Classes and Derived Classes
Section 12.5.聽Constructors and Destructors in Derived Classes
Section 12.6.聽public, protected and private Inheritance
Section 12.7.聽Software Engineering with Inheritance
Section 12.8.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 13.聽Object-Oriented Programming: Polymorphism Section 13.1.聽Introduction
Section 13.2.聽Polymorphism Examples
Section 13.3.聽Relationships Among Objects in an Inheritance Hierarchy
Section 13.4.聽Type Fields and switch Statements
Section 13.5.聽Abstract Classes and Pure virtual Functions
Section 13.6.聽Case Study: Payroll System Using Polymorphism
Section 13.7.聽(Optional) Polymorphism, Virtual Functions and Dynamic Binding 鈥淯nder the Hood鈥?
Section 13.8.聽Case Study: Payroll System Using Polymorphism and Runtime Type Information with Downcasting, dynamic_cast, typeid and type_info
Section 13.9.聽Virtual Destructors
Section 13.10.聽(Optional) Software Engineering Case Study: Incorporating Inheritance into the ATM System
Section 13.11.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 14.聽Templates Section 14.1.聽Introduction
Section 14.2.聽Function Templates
Section 14.3.聽Overloading Function Templates
Section 14.4.聽Class Templates
Section 14.5.聽Nontype Parameters and Default Types for Class Templates
Section 14.6.聽Notes on Templates and Inheritance
Section 14.7.聽Notes on Templates and Friends
Section 14.8.聽Notes on Templates and static Members
Section 14.9.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 15.聽Stream Input/Output Section 15.1.聽Introduction
Section 15.2.聽Streams
Section 15.3.聽Stream Output
Section 15.4.聽Stream Input
Section 15.5.聽Unformatted I/O Using read, write and gcount
Section 15.6.聽Introduction to Stream Manipulators
Section 15.7.聽Stream Format States and Stream Manipulators
Section 15.8.聽Stream Error States
Section 15.9.聽Tying an Output Stream to an Input Stream
Section 15.10.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 16.聽Exception Handling Section 16.1.聽Introduction
Section 16.2.聽Exception-Handling Overview
Section 16.3.聽Example: Handling an Attempt to Divide by Zero
Section 16.4.聽When to Use Exception Handling
Section 16.5.聽Rethrowing an Exception
Section 16.6.聽Exception Specifications
Section 16.7.聽Processing Unexpected Exceptions
Section 16.8.聽Stack Unwinding
Section 16.9.聽Constructors, Destructors and Exception Handling
Section 16.10.聽Exceptions and Inheritance
Section 16.11.聽Processing new Failures
Section 16.12.聽Class auto_ptr and Dynamic Memory Allocation
Section 16.13.聽Standard Library Exception Hierarchy
Section 16.14.聽Other Error-Handling Techniques
Section 16.15.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 17.聽File Processing Section 17.1.聽Introduction
Section 17.2.聽Data Hierarchy
Section 17.3.聽Files and Streams
Section 17.4.聽Creating a Sequential File
Section 17.5.聽Reading Data from a Sequential File
Section 17.6.聽Updating Sequential Files
Section 17.7.聽Random-Access Files
Section 17.8.聽Creating a Random-Access File
Section 17.9.聽Writing Data Randomly to a Random-Access File
Section 17.10.聽Reading from a Random-Access File Sequentially
Section 17.11.聽Case Study: A Transaction-Processing Program
Section 17.12.聽Overview of Object Serialization
Section 17.13.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 18.聽Class string and String Stream Processing Section 18.1.聽Introduction
Section 18.2.聽string Assignment and Concatenation
Section 18.3.聽Comparing strings
Section 18.4.聽Substrings
Section 18.5.聽Swapping strings
Section 18.6.聽string Characteristics
Section 18.7.聽Finding Substrings and Characters in a string
Section 18.8.聽Replacing Characters in a string
Section 18.9.聽Inserting Characters into a string
Section 18.10.聽Conversion to C-Style Pointer-Based char * Strings
Section 18.11.聽Iterators
Section 18.12.聽String Stream Processing
Section 18.13.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 19.聽Searching and Sorting Section 19.1.聽Introduction
Section 19.2.聽Searching Algorithms
Section 19.3.聽Sorting Algorithms
Section 19.4.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 20.聽Data Structures Section 20.1.聽Introduction
Section 20.2.聽Self-Referential Classes
Section 20.3.聽Dynamic Memory Allocation and Data Structures
Section 20.4.聽Linked Lists
Section 20.5.聽Stacks
Section 20.6.聽Queues
Section 20.7.聽Trees
Section 20.8.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Special Section: Building Your Own Compiler
Download Chapter
1 Token Chapter 21.聽Bits, Characters, C Strings and structs Section 21.1.聽Introduction
Section 21.2.聽Structure Definitions
Section 21.3.聽Initializing Structures
Section 21.4.聽Using Structures with Functions
Section 21.5.聽typedef
Section 21.6.聽Example: High-Performance Card Shuffling and Dealing Simulation
Section 21.7.聽Bitwise Operators
Section 21.8.聽Bit Fields
Section 21.9.聽Character-Handling Library
Section 21.10.聽Pointer-Based String-Conversion Functions
Section 21.11.聽Search Functions of the Pointer-Based String-Handling Library
Section 21.12.聽Memory Functions of the Pointer-Based String-Handling Library
Section 21.13.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 22.聽Standard Template Library (STL) Section 22.1.聽Introduction to the Standard Template Library (STL)
Section 22.2.聽Sequence Containers
Section 22.3.聽Associative Containers
Section 22.4.聽Container Adapters
Section 22.5.聽Algorithms
Section 22.6.聽Class bitset
Section 22.7.聽Function Objects
Section 22.8.聽Wrap-Up
Section 22.9.聽STL Web Resources
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Recommended Reading
Download Chapter
1 Token Chapter 23.聽Game Programming with Ogre Section 23.1.聽Introduction
Section 23.2.聽Installing Ogre, OgreAL and OpenAL
Section 23.3.聽Basics of Game Programming
Section 23.4.聽The Game of Pong: Code Walkthrough
Section 23.5.聽Wrap-Up
Section 23.6.聽Ogre Web Resources
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 24.聽Boost Libraries, Technical Report 1 and C++0x Section 24.1.聽Introduction
Section 24.2.聽Deitel Online C++ and Related Resource Centers
Section 24.3.聽Boost Libraries
Section 24.4.聽Adding a New Library to Boost
Section 24.5.聽Installing the Boost Libraries
Section 24.6.聽Boost Libraries in Technical Report 1 (TR1)
Section 24.7.聽Regular Expressions with the Boost.Regex Library
Section 24.8.聽Smart Pointers with Boost.Smart_ptr
Section 24.9.聽Technical Report 1
Section 24.10.聽C++0x
Section 24.11.聽Core Language Changes
Section 24.12.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 25.聽Other Topics Section 25.1.聽Introduction
Section 25.2.聽const_cast Operator
Section 25.3.聽namespaces
Section 25.4.聽Operator Keywords
Section 25.5.聽mutable Class Members
Section 25.6.聽Pointers to Class Members (.* and ->*)
Section 25.7.聽Multiple Inheritance
Section 25.8.聽Multiple Inheritance and virtual Base Classes
Section 25.9.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Appendix A.聽Operator Precedence and Associativity Chart Section A.1.聽Operator Precedence
Download Chapter
1 Token Appendix B.聽ASCII Character Set
Download Chapter
1 Token Appendix C.聽Fundamental Types
Download Chapter
1 Token Appendix D.聽Number Systems Section D.1.聽Introduction
Section D.2.聽Abbreviating Binary Numbers as Octal and Hexadecimal Numbers
Section D.3.聽Converting Octal and Hexadecimal Numbers to Binary Numbers
Section D.4.聽Converting from Binary, Octal or Hexadecimal to Decimal
Section D.5.聽Converting from Decimal to Binary, Octal or Hexadecimal
Section D.6.聽Negative Binary Numbers: Two鈥檚 Complement Notation
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Appendix E.聽C Legacy Code Topics Section E.1.聽Introduction
Section E.2.聽Redirecting Input/Output on UNIX/Linux/Mac OS X and Windows Systems
Section E.3.聽Variable-Length Argument Lists
Section E.4.聽Using Command-Line Arguments
Section E.5.聽Notes on Compiling Multiple-Source-File Programs
Section E.6.聽Program Termination with exit and atexit
Section E.7.聽Type Qualifier volatile
Section E.8.聽Suffixes for Integer and Floating-Point Constants
Section E.9.聽Signal Handling
Section E.10.聽Dynamic Memory Allocation with calloc and realloc
Section E.11.聽Unconditional Branch: goto
Section E.12.聽Unions
Section E.13.聽Linkage Specifications
Section E.14.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Appendix F.聽Preprocessor Section F.1.聽Introduction
Section F.2.聽The #include Preprocessor Directive
Section F.3.聽The #define Preprocessor Directive: Symbolic Constants
Section F.4.聽The #define Preprocessor Directive: Macros
Section F.5.聽Conditional Compilation
Section F.6.聽The #error and #pragma Preprocessor Directives
Section F.7.聽Operators # and ##
Section F.8.聽Predefined Symbolic Constants
Section F.9.聽Assertions
Section F.10.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Appendix G.聽ATM Case Study Code Section G.1.聽ATM Case Study Implementation
Section G.2.聽Class ATM
Section G.3.聽Class Screen
Section G.4.聽Class Keypad
Section G.5.聽Class CashDispenser
Section G.6.聽Class DepositSlot
Section G.7.聽Class Account
Section G.8.聽Class BankDatabase
Section G.9.聽Class Transaction
Section G.10.聽Class BalanceInquiry
Section G.11.聽Class Withdrawal
Section G.12.聽Class Deposit
Section G.13.聽Test Program ATMCaseStudy.cpp
Section G.14.聽Wrap-Up
Download Chapter
1 Token Appendix H.聽UML 2: Additional Diagram Types Section H.1.聽Introduction
Section H.2.聽Additional Diagram Types
Download Chapter
1 Token Appendix I.聽Using the Visual Studio Debugger Section I.1.聽Introduction
Section I.2.聽Breakpoints and the Continue Command
Section I.3.聽Locals and Watch Windows
Section I.4.聽Controlling Execution Using the Step Into, Step Over, Step Out and Continue Commands
Section I.5.聽Autos Window
Section I.6.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Download Chapter
1 Token Appendix J.聽Using the GNU C++ Debugger Section J.1.聽Introduction
Section J.2.聽Breakpoints and the run, stop, continue and print Commands
Section J.3.聽print and set Commands
Section J.4.聽Controlling Execution Using the step, finish and next Commands
Section J.5.聽watch Command
Section J.6.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Download Chapter
1 Token Bibliography
Index
Deitel庐 Series Page
Deitel Resource Centers
Preface
Acknowledgments
About the Authors
Before You Begin
Download Chapter
1 Token Chapter 1.聽Introduction to Computers, the Internet and the World Wide Web Section 1.1.聽Introduction
Section 1.2.聽What Is a Computer?
Section 1.3.聽Computer Organization
Section 1.4.聽Early Operating Systems
Section 1.5.聽Personal, Distributed and Client/Server Computing
Section 1.6.聽The Internet and the World Wide Web
Section 1.7.聽Web 2.0
Section 1.8.聽Machine Languages, Assembly Languages and High-Level Languages
Section 1.9.聽History of C and C++
Section 1.10.聽C++ Standard Library
Section 1.11.聽History of Java
Section 1.12.聽Fortran, COBOL, Pascal and Ada
Section 1.13.聽BASIC, Visual Basic, Visual C++, C# and .NET
Section 1.14.聽Key Software Trend: Object Technology
Section 1.15.聽Typical C++ Development Environment
Section 1.16.聽Notes About C++ and C++ How to Program, 6/e
Section 1.17.聽Test-Driving a C++ Application
Section 1.18.聽Software Technologies
Section 1.19.聽Game Programming with the Ogre Libraries
Section 1.20.聽Future of C++: Open Source Boost Libraries, TR1 and C++0x
Section 1.21.聽Software Engineering Case Study: Introduction to Object Technology and the UML
Section 1.22.聽Wrap-Up
Section 1.23.聽Web Resources
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 2.聽Introduction to C++ Programming Section 2.1.聽Introduction
Section 2.2.聽First Program in C++: Printing a Line of Text
Section 2.3.聽Modifying Our First C++ Program
Section 2.4.聽Another C++ Program: Adding Integers
Section 2.5.聽Memory Concepts
Section 2.6.聽Arithmetic
Section 2.7.聽Decision Making: Equality and Relational Operators
Section 2.8.聽(Optional) Software Engineering Case Study: Examining the ATM Requirements Specification
Section 2.9.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 3.聽Introduction to Classes and Objects Section 3.1.聽Introduction
Section 3.2.聽Classes, Objects, Member Functions and Data Members
Section 3.3.聽Overview of the Chapter Examples
Section 3.4.聽Defining a Class with a Member Function
Section 3.5.聽Defining a Member Function with a Parameter
Section 3.6.聽Data Members, set Functions and get Functions
Section 3.7.聽Initializing Objects with Constructors
Section 3.8.聽Placing a Class in a Separate File for Reusability
Section 3.9.聽Separating Interface from Implementation
Section 3.10.聽Validating Data with set Functions
Section 3.11.聽(Optional) Software Engineering Case Study: Identifying the Classes in the ATM Requirements Specification
Section 3.12.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 4.聽Control Statements: Part 1 Section 4.1.聽Introduction
Section 4.2.聽Algorithms
Section 4.3.聽Pseudocode
Section 4.4.聽Control Structures
Section 4.5.聽if Selection Statement
Section 4.6.聽if...else Double-Selection Statement
Section 4.7.聽while Repetition Statement
Section 4.8.聽Formulating Algorithms: Counter-Controlled Repetition
Section 4.9.聽Formulating Algorithms: Sentinel-Controlled Repetition
Section 4.10.聽Formulating Algorithms: Nested Control Statements
Section 4.11.聽Assignment Operators
Section 4.12.聽Increment and Decrement Operators
Section 4.13.聽(Optional) Software Engineering Case Study: Identifying Class Attributes in the ATM System
Section 4.14.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 5.聽Control Statements: Part 2 Section 5.1.聽Introduction
Section 5.2.聽Essentials of Counter-Controlled Repetition
Section 5.3.聽for Repetition Statement
Section 5.4.聽Examples Using the for Statement
Section 5.5.聽do...while Repetition Statement
Section 5.6.聽switch Multiple-Selection Statement
Section 5.7.聽break and continue Statements
Section 5.8.聽Logical Operators
Section 5.9.聽Confusing the Equality (==) and Assignment (=) Operators
Section 5.10.聽Structured Programming Summary
Section 5.11.聽(Optional) Software Engineering Case Study: Identifying Objects鈥?States and Activities in the ATM System
Section 5.12.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 6.聽Functions and an Introduction to Recursion Section 6.1.聽Introduction
Section 6.2.聽Program Components in C++
Section 6.3.聽Math Library Functions
Section 6.4.聽Function Definitions with Multiple Parameters
Section 6.5.聽Function Prototypes and Argument Coercion
Section 6.6.聽C++ Standard Library Header Files
Section 6.7.聽Case Study: Random Number Generation
Section 6.8.聽Case Study: Game of Chance; Introducing enum
Section 6.9.聽Storage Classes
Section 6.10.聽Scope Rules
Section 6.11.聽Function Call Stack and Activation Records
Section 6.12.聽Functions with Empty Parameter Lists
Section 6.13.聽Inline Functions
Section 6.14.聽References and Reference Parameters
Section 6.15.聽Default Arguments
Section 6.16.聽Unary Scope Resolution Operator
Section 6.17.聽Function Overloading
Section 6.18.聽Function Templates
Section 6.19.聽Recursion
Section 6.20.聽Example Using Recursion: Fibonacci Series
Section 6.21.聽Recursion vs. Iteration
Section 6.22.聽(Optional) Software Engineering Case Study: Identifying Class Operations in the ATM System
Section 6.23.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 7.聽Arrays and Vectors Section 7.1.聽Introduction
Section 7.2.聽Arrays
Section 7.3.聽Declaring Arrays
Section 7.4.聽Examples Using Arrays
Section 7.5.聽Passing Arrays to Functions
Section 7.6.聽Case Study: Class GradeBook Using an Array to Store Grades
Section 7.7.聽Searching Arrays with Linear Search
Section 7.8.聽Sorting Arrays with Insertion Sort
Section 7.9.聽Multidimensional Arrays
Section 7.10.聽Case Study: Class GradeBook Using a Two-Dimensional Array
Section 7.11.聽Introduction to C++ Standard Library Class Template vector
Section 7.12.聽(Optional) Software Engineering Case Study: Collaboration Among Objects in the ATM System
Section 7.13.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Recursion Exercises
vector Exercises
Download Chapter
1 Token Chapter 8.聽Pointers and Pointer-Based Strings Section 8.1.聽Introduction
Section 8.2.聽Pointer Variable Declarations and Initialization
Section 8.3.聽Pointer Operators
Section 8.4.聽Passing Arguments to Functions by Reference with Pointers
Section 8.5.聽Using const with Pointers
Section 8.6.聽Selection Sort Using Pass-by-Reference
Section 8.7.聽sizeof Operator
Section 8.8.聽Pointer Expressions and Pointer Arithmetic
Section 8.9.聽Relationship Between Pointers and Arrays
Section 8.10.聽Arrays of Pointers
Section 8.11.聽Case Study: Card Shuffling and Dealing Simulation
Section 8.12.聽Function Pointers
Section 8.13.聽Introduction to Pointer-Based String Processing
Section 8.14.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Special Section: Building Your Own Computer
More Pointer Exercises
String-Manipulation Exercises
Special Section: Advanced String-Manipulation Exercises
A Challenging String-Manipulation Project
Download Chapter
1 Token Chapter 9.聽Classes: A Deeper Look, Part 1 Section 9.1.聽Introduction
Section 9.2.聽Time Class Case Study
Section 9.3.聽Class Scope and Accessing Class Members
Section 9.4.聽Separating Interface from Implementation
Section 9.5.聽Access Functions and Utility Functions
Section 9.6.聽Time Class Case Study: Constructors with Default Arguments
Section 9.7.聽Destructors
Section 9.8.聽When Constructors and Destructors Are Called
Section 9.9.聽Time Class Case Study: A Subtle Trap鈥擱eturning a Reference to a private Data Member
Section 9.10.聽Default Memberwise Assignment
Section 9.11.聽(Optional) Software Engineering Case Study: Starting to Program the Classes of the ATM System
Section 9.12.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 10.聽Classes: A Deeper Look, Part 2 Section 10.1.聽Introduction
Section 10.2.聽const (Constant) Objects and const Member Functions
Section 10.3.聽Composition: Objects as Members of Classes
Section 10.4.聽friend Functions and friend Classes
Section 10.5.聽Using the this Pointer
Section 10.6.聽Dynamic Memory Management with Operators new and delete
Section 10.7.聽static Class Members
Section 10.8.聽Data Abstraction and Information Hiding
Section 10.9.聽Container Classes and Iterators
Section 10.10.聽Proxy Classes
Section 10.11.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 11.聽Operator Overloading; String and Array Objects Section 11.1.聽Introduction
Section 11.2.聽Fundamentals of Operator Overloading
Section 11.3.聽Restrictions on Operator Overloading
Section 11.4.聽Operator Functions as Class Members vs. Global Functions
Section 11.5.聽Overloading Stream Insertion and Stream Extraction Operators
Section 11.6.聽Overloading Unary Operators
Section 11.7.聽Overloading Binary Operators
Section 11.8.聽Case Study: Array Class
Section 11.9.聽Converting between Types
Section 11.10.聽Case Study: String Class
Section 11.11.聽Overloading ++ and --
Section 11.12.聽Case Study: A Date Class
Section 11.13.聽Standard Library Class string
Section 11.14.聽explicit Constructors
Section 11.15.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 12.聽Object-Oriented Programming: Inheritance Section 12.1.聽Introduction
Section 12.2.聽Base Classes and Derived Classes
Section 12.3.聽protected Members
Section 12.4.聽Relationship between Base Classes and Derived Classes
Section 12.5.聽Constructors and Destructors in Derived Classes
Section 12.6.聽public, protected and private Inheritance
Section 12.7.聽Software Engineering with Inheritance
Section 12.8.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 13.聽Object-Oriented Programming: Polymorphism Section 13.1.聽Introduction
Section 13.2.聽Polymorphism Examples
Section 13.3.聽Relationships Among Objects in an Inheritance Hierarchy
Section 13.4.聽Type Fields and switch Statements
Section 13.5.聽Abstract Classes and Pure virtual Functions
Section 13.6.聽Case Study: Payroll System Using Polymorphism
Section 13.7.聽(Optional) Polymorphism, Virtual Functions and Dynamic Binding 鈥淯nder the Hood鈥?
Section 13.8.聽Case Study: Payroll System Using Polymorphism and Runtime Type Information with Downcasting, dynamic_cast, typeid and type_info
Section 13.9.聽Virtual Destructors
Section 13.10.聽(Optional) Software Engineering Case Study: Incorporating Inheritance into the ATM System
Section 13.11.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 14.聽Templates Section 14.1.聽Introduction
Section 14.2.聽Function Templates
Section 14.3.聽Overloading Function Templates
Section 14.4.聽Class Templates
Section 14.5.聽Nontype Parameters and Default Types for Class Templates
Section 14.6.聽Notes on Templates and Inheritance
Section 14.7.聽Notes on Templates and Friends
Section 14.8.聽Notes on Templates and static Members
Section 14.9.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 15.聽Stream Input/Output Section 15.1.聽Introduction
Section 15.2.聽Streams
Section 15.3.聽Stream Output
Section 15.4.聽Stream Input
Section 15.5.聽Unformatted I/O Using read, write and gcount
Section 15.6.聽Introduction to Stream Manipulators
Section 15.7.聽Stream Format States and Stream Manipulators
Section 15.8.聽Stream Error States
Section 15.9.聽Tying an Output Stream to an Input Stream
Section 15.10.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 16.聽Exception Handling Section 16.1.聽Introduction
Section 16.2.聽Exception-Handling Overview
Section 16.3.聽Example: Handling an Attempt to Divide by Zero
Section 16.4.聽When to Use Exception Handling
Section 16.5.聽Rethrowing an Exception
Section 16.6.聽Exception Specifications
Section 16.7.聽Processing Unexpected Exceptions
Section 16.8.聽Stack Unwinding
Section 16.9.聽Constructors, Destructors and Exception Handling
Section 16.10.聽Exceptions and Inheritance
Section 16.11.聽Processing new Failures
Section 16.12.聽Class auto_ptr and Dynamic Memory Allocation
Section 16.13.聽Standard Library Exception Hierarchy
Section 16.14.聽Other Error-Handling Techniques
Section 16.15.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 17.聽File Processing Section 17.1.聽Introduction
Section 17.2.聽Data Hierarchy
Section 17.3.聽Files and Streams
Section 17.4.聽Creating a Sequential File
Section 17.5.聽Reading Data from a Sequential File
Section 17.6.聽Updating Sequential Files
Section 17.7.聽Random-Access Files
Section 17.8.聽Creating a Random-Access File
Section 17.9.聽Writing Data Randomly to a Random-Access File
Section 17.10.聽Reading from a Random-Access File Sequentially
Section 17.11.聽Case Study: A Transaction-Processing Program
Section 17.12.聽Overview of Object Serialization
Section 17.13.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 18.聽Class string and String Stream Processing Section 18.1.聽Introduction
Section 18.2.聽string Assignment and Concatenation
Section 18.3.聽Comparing strings
Section 18.4.聽Substrings
Section 18.5.聽Swapping strings
Section 18.6.聽string Characteristics
Section 18.7.聽Finding Substrings and Characters in a string
Section 18.8.聽Replacing Characters in a string
Section 18.9.聽Inserting Characters into a string
Section 18.10.聽Conversion to C-Style Pointer-Based char * Strings
Section 18.11.聽Iterators
Section 18.12.聽String Stream Processing
Section 18.13.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 19.聽Searching and Sorting Section 19.1.聽Introduction
Section 19.2.聽Searching Algorithms
Section 19.3.聽Sorting Algorithms
Section 19.4.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 20.聽Data Structures Section 20.1.聽Introduction
Section 20.2.聽Self-Referential Classes
Section 20.3.聽Dynamic Memory Allocation and Data Structures
Section 20.4.聽Linked Lists
Section 20.5.聽Stacks
Section 20.6.聽Queues
Section 20.7.聽Trees
Section 20.8.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Special Section: Building Your Own Compiler
Download Chapter
1 Token Chapter 21.聽Bits, Characters, C Strings and structs Section 21.1.聽Introduction
Section 21.2.聽Structure Definitions
Section 21.3.聽Initializing Structures
Section 21.4.聽Using Structures with Functions
Section 21.5.聽typedef
Section 21.6.聽Example: High-Performance Card Shuffling and Dealing Simulation
Section 21.7.聽Bitwise Operators
Section 21.8.聽Bit Fields
Section 21.9.聽Character-Handling Library
Section 21.10.聽Pointer-Based String-Conversion Functions
Section 21.11.聽Search Functions of the Pointer-Based String-Handling Library
Section 21.12.聽Memory Functions of the Pointer-Based String-Handling Library
Section 21.13.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 22.聽Standard Template Library (STL) Section 22.1.聽Introduction to the Standard Template Library (STL)
Section 22.2.聽Sequence Containers
Section 22.3.聽Associative Containers
Section 22.4.聽Container Adapters
Section 22.5.聽Algorithms
Section 22.6.聽Class bitset
Section 22.7.聽Function Objects
Section 22.8.聽Wrap-Up
Section 22.9.聽STL Web Resources
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Recommended Reading
Download Chapter
1 Token Chapter 23.聽Game Programming with Ogre Section 23.1.聽Introduction
Section 23.2.聽Installing Ogre, OgreAL and OpenAL
Section 23.3.聽Basics of Game Programming
Section 23.4.聽The Game of Pong: Code Walkthrough
Section 23.5.聽Wrap-Up
Section 23.6.聽Ogre Web Resources
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 24.聽Boost Libraries, Technical Report 1 and C++0x Section 24.1.聽Introduction
Section 24.2.聽Deitel Online C++ and Related Resource Centers
Section 24.3.聽Boost Libraries
Section 24.4.聽Adding a New Library to Boost
Section 24.5.聽Installing the Boost Libraries
Section 24.6.聽Boost Libraries in Technical Report 1 (TR1)
Section 24.7.聽Regular Expressions with the Boost.Regex Library
Section 24.8.聽Smart Pointers with Boost.Smart_ptr
Section 24.9.聽Technical Report 1
Section 24.10.聽C++0x
Section 24.11.聽Core Language Changes
Section 24.12.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Chapter 25.聽Other Topics Section 25.1.聽Introduction
Section 25.2.聽const_cast Operator
Section 25.3.聽namespaces
Section 25.4.聽Operator Keywords
Section 25.5.聽mutable Class Members
Section 25.6.聽Pointers to Class Members (.* and ->*)
Section 25.7.聽Multiple Inheritance
Section 25.8.聽Multiple Inheritance and virtual Base Classes
Section 25.9.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Appendix A.聽Operator Precedence and Associativity Chart Section A.1.聽Operator Precedence
Download Chapter
1 Token Appendix B.聽ASCII Character Set
Download Chapter
1 Token Appendix C.聽Fundamental Types
Download Chapter
1 Token Appendix D.聽Number Systems Section D.1.聽Introduction
Section D.2.聽Abbreviating Binary Numbers as Octal and Hexadecimal Numbers
Section D.3.聽Converting Octal and Hexadecimal Numbers to Binary Numbers
Section D.4.聽Converting from Binary, Octal or Hexadecimal to Decimal
Section D.5.聽Converting from Decimal to Binary, Octal or Hexadecimal
Section D.6.聽Negative Binary Numbers: Two鈥檚 Complement Notation
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Appendix E.聽C Legacy Code Topics Section E.1.聽Introduction
Section E.2.聽Redirecting Input/Output on UNIX/Linux/Mac OS X and Windows Systems
Section E.3.聽Variable-Length Argument Lists
Section E.4.聽Using Command-Line Arguments
Section E.5.聽Notes on Compiling Multiple-Source-File Programs
Section E.6.聽Program Termination with exit and atexit
Section E.7.聽Type Qualifier volatile
Section E.8.聽Suffixes for Integer and Floating-Point Constants
Section E.9.聽Signal Handling
Section E.10.聽Dynamic Memory Allocation with calloc and realloc
Section E.11.聽Unconditional Branch: goto
Section E.12.聽Unions
Section E.13.聽Linkage Specifications
Section E.14.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Appendix F.聽Preprocessor Section F.1.聽Introduction
Section F.2.聽The #include Preprocessor Directive
Section F.3.聽The #define Preprocessor Directive: Symbolic Constants
Section F.4.聽The #define Preprocessor Directive: Macros
Section F.5.聽Conditional Compilation
Section F.6.聽The #error and #pragma Preprocessor Directives
Section F.7.聽Operators # and ##
Section F.8.聽Predefined Symbolic Constants
Section F.9.聽Assertions
Section F.10.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Exercises
Download Chapter
1 Token Appendix G.聽ATM Case Study Code Section G.1.聽ATM Case Study Implementation
Section G.2.聽Class ATM
Section G.3.聽Class Screen
Section G.4.聽Class Keypad
Section G.5.聽Class CashDispenser
Section G.6.聽Class DepositSlot
Section G.7.聽Class Account
Section G.8.聽Class BankDatabase
Section G.9.聽Class Transaction
Section G.10.聽Class BalanceInquiry
Section G.11.聽Class Withdrawal
Section G.12.聽Class Deposit
Section G.13.聽Test Program ATMCaseStudy.cpp
Section G.14.聽Wrap-Up
Download Chapter
1 Token Appendix H.聽UML 2: Additional Diagram Types Section H.1.聽Introduction
Section H.2.聽Additional Diagram Types
Download Chapter
1 Token Appendix I.聽Using the Visual Studio Debugger Section I.1.聽Introduction
Section I.2.聽Breakpoints and the Continue Command
Section I.3.聽Locals and Watch Windows
Section I.4.聽Controlling Execution Using the Step Into, Step Over, Step Out and Continue Commands
Section I.5.聽Autos Window
Section I.6.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Download Chapter
1 Token Appendix J.聽Using the GNU C++ Debugger Section J.1.聽Introduction
Section J.2.聽Breakpoints and the run, stop, continue and print Commands
Section J.3.聽print and set Commands
Section J.4.聽Controlling Execution Using the step, finish and next Commands
Section J.5.聽watch Command
Section J.6.聽Wrap-Up
Summary
Terminology
Self-Review Exercises
Answers to Self-Review Exercises
Download Chapter
1 Token Bibliography
Index
光盘服务联系方式: 020-38250260 客服QQ:4006604884
云图客服:
用户发送的提问,这种方式就需要有位在线客服来回答用户的问题,这种 就属于对话式的,问题是这种提问是否需要用户登录才能提问
Video Player
×
Audio Player
×
pdf Player
×