Your textbook…
Table of Contents
1. Basic Philosophical Differences.
2. Fundamental Data Types.
3. Pointers and References.
4. Memory Management.
5. Class Definition.
6. Polymorphism.
7. Operator Overloading.
8. Characters and Strings.
9. Templates and Containers.
10. Input/Output.
11. Exception Handling.
12. Features Found Only In C++.
13. Features Found Only in Java.
14. Case Study: Fractions.
15. Case Study: Containers.
16. Case Study: A Card Game.
17. Case Study: Combining Separate Classes.
Appendix: Include Files.
The Language C.
The Development of C++.
The Legacy Problem.
The Language Java.
The Better Language.
Further Reading.
The Development of C++.
The Legacy Problem.
The Language Java.
The Better Language.
Further Reading.
2. Fundamental Data Types.
Integers.
Floating Point Values.
Enumerated Values.
The Void Type.
Arrays.
Structures and Unions.
Object Values.
Functions.
Floating Point Values.
Enumerated Values.
The Void Type.
Arrays.
Structures and Unions.
Object Values.
Functions.
3. Pointers and References.
Java Pointers.
Pointers on Pointers.
The Address-of Operator.
Pointers to Simple Values.
Pointers to Structures.
Pointers to Arrays.
References.
Pointers on Pointers.
The Address-of Operator.
Pointers to Simple Values.
Pointers to Structures.
Pointers to Arrays.
References.
4. Memory Management.
The Memory Model.
Stack-Resident Memory Values.
Heap-Resident Memory Values.
Stack-Resident Memory Values.
Heap-Resident Memory Values.
5. Class Definition.
Obvious Similarities and Minor Differences.
Separation of Class and Implementation.
Forward References.
Constructors and Initialization.
The Orthodox Canonical Class Form.
Visibility Modifiers.
Inner Classes versus Nested Classes.
Static Initialization.
Final Classes.
Separation of Class and Implementation.
Forward References.
Constructors and Initialization.
The Orthodox Canonical Class Form.
Visibility Modifiers.
Inner Classes versus Nested Classes.
Static Initialization.
Final Classes.
6. Polymorphism.
Virtual and Nonvirtual Overriding.
Abstract Classes.
Downcasting (Reverse Polymorphism).
Name Resolution.
A Forest, Not a Tree.
Virtual Destructors.
Private Inheritance.
Inheritance and Arrays.
Overloading.
Abstract Classes.
Downcasting (Reverse Polymorphism).
Name Resolution.
A Forest, Not a Tree.
Virtual Destructors.
Private Inheritance.
Inheritance and Arrays.
Overloading.
7. Operator Overloading.
Overloaded Functions or Methods.
The Simple Binary Operators.
The Comparison Operators.
The Increment and Decrement Operators.
The Shift Operators.
The Assignment Operator.
The Compound Assignment Operators.
The Subscript Operator.
The Parenthesis Operator.
The Address-of Operator.
The Logical Connectives.
The Comma Operator.
The Arrow Operator.
Pointers to Members and Pointers to Member Functions.
Conversion Operators.
Memory Management Operators.
Disallowing Operations.
Implicit Functions and Invocations.
The Simple Binary Operators.
The Comparison Operators.
The Increment and Decrement Operators.
The Shift Operators.
The Assignment Operator.
The Compound Assignment Operators.
The Subscript Operator.
The Parenthesis Operator.
The Address-of Operator.
The Logical Connectives.
The Comma Operator.
The Arrow Operator.
Pointers to Members and Pointers to Member Functions.
Conversion Operators.
Memory Management Operators.
Disallowing Operations.
Implicit Functions and Invocations.
8. Characters and Strings.
Characters and Literals Strings.
Constant and Mutable Values.
The String Data Type.
Example ProgramSplit a Line into Words.
Constant and Mutable Values.
The String Data Type.
Example ProgramSplit a Line into Words.
9. Templates and Containers.
Template Classes.
Template Functions.
The Standard Template Library.
Template Functions.
The Standard Template Library.
10. Input/Output.
The stdio Library.
The Stream I/O Facility.
An Example Program.
The Stream I/O Facility.
An Example Program.
11. Exception Handling.
Flags and Return Codes.
The Assertion Library.
The setjmp and longjmp Facility.
Signals.
Exception Handling.
The Assertion Library.
The setjmp and longjmp Facility.
Signals.
Exception Handling.
12. Features Found Only In C++.
Global Variables.
The Preprocessor.
typedef Statement.
The const Keyword.
Default Arguments.
Friends.
Name Spaces.
Multiple Inheritance.
goto Statement.
The Preprocessor.
typedef Statement.
The const Keyword.
Default Arguments.
Friends.
Name Spaces.
Multiple Inheritance.
goto Statement.
13. Features Found Only in Java.
Wrapper Classes.
Interfaces.
Inline Classes.
Threads.
Reflection.
Interfaces.
Inline Classes.
Threads.
Reflection.
14. Case Study: Fractions.
Classes.
Constructors.
Behavior.
Input and Output Streams.
Constructors.
Behavior.
Input and Output Streams.
15. Case Study: Containers.
Shortest Path Problem Graph.
A Concordance.
A Concordance.
16. Case Study: A Card Game.
The Class Card.
Data and View Classes.
The Game.
Card PilesInheritance in Action.
Playing the Polymorphic Game.
The Graphical User Interface.
Data and View Classes.
The Game.
Card PilesInheritance in Action.
Playing the Polymorphic Game.
The Graphical User Interface.
17. Case Study: Combining Separate Classes.
Appendix: Include Files.
Input and Output.
Diagnostics.
Strings.
STL Containers.
STL Utility Routines.
Numeric Support.
Run-Time Support.
Miscellaneous.
Diagnostics.
Strings.
STL Containers.
STL Utility Routines.
Numeric Support.
Run-Time Support.
Miscellaneous.
This textbook is also sold in the various packages listed below. Before purchasing one of these packages, speak with your professor about which one will help you be successful in your course.
Package ISBN-13: 9780321421302
$74.00 | Add to Cart
This package contains:
- C++ For Java Programmers
Timothy A. Budd | ©1999 | Paper; 290 pages - Addison-Wesley's C++ Backpack Reference Guide
Peter DePasquale | ©2006 | Paper; 96 pages
Package ISBN-13: 9780321109637
$164.00 | Add to Cart
This package contains:
- C++ For Java Programmers
Timothy A. Budd | ©1999 | Paper; 290 pages - C++ Programming with Design Patterns Revealed
Tomasz Muldner | ©2002 | Paper; 528 pages