Warenkorb
Kostenloser Versand
Unsere Operationen sind klimaneutral

C++ For Java Programmers Timothy A. Budd

C++ For Java Programmers von Timothy A. Budd

C++ For Java Programmers Timothy A. Budd


12.50
Zustand - Gut
Nur noch 2

Zusammenfassung

This book provides students with an introduction to C++ that enlists their Java programming skills to get them comfortably programming in C++. The text starts off by teaching how to perform tasks in C++ that are inherent in Java, such as pointers and memory management. It then builds upon their Java experience to teach other language features.

C++ For Java Programmers Zusammenfassung

C++ For Java Programmers Timothy A. Budd

This book provides students with an introduction to C++ that enlists their Java programming skills to get them comfortably programming in C++. It is an appropriate supplement for any upper-level course in which students are required to program in C++, or for anyone with experience in Java who is interested in an introduction to C++. The text starts off by teaching how to perform tasks in C++ that are inherent in Java, such as pointers and memory management. It then builds upon their Java experience to teach language features like class definitions and polymorphism, which are slightly different in C++. Finally, aspects of C++ that have no correlation in Java - as well as those aspects of Java not found in C++ - are presented.

Über Timothy A. Budd

Timothy A. Budd is an Associate Professor of Computer Science at Oregon State University. Budd received his Bachelor of Arts degree in Mathematics and Computer Science from Western Washington University, and his masters and doctorate degrees in computer science from Yale University. His research interests include multi-paradigm programming languages, programming environments, compiler implementation and optimization techniques.



0201612461AB04062001

Inhaltsverzeichnis

1. Basic Philosophical Differences.
The Language C.
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.

3. Pointers and References.
Java Pointers.
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.

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.

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.

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.

8. Characters and Strings.
Characters and Literals Strings.
Constant and Mutable Values.
The String Data Type.
Example Program-Split a Line into Words.

9. Templates and Containers.
Template Classes.
Template Functions.
The Standard Template Library.

10. Input/Output.
The stdio Library.
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.

12. Features Found Only In C++.
Global Variables.
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.

14. Case Study: Fractions.
Classes.
Constructors.
Behavior.
Input and Output Streams.

15. Case Study: Containers.
Shortest Path Problem Graph.
A Concordance.

16. Case Study: A Card Game.
The Class Card.
Data and View Classes.
The Game.
Card Piles-Inheritance 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.

Zusätzliche Informationen

GOR002637048
9780201612462
0201612461
C++ For Java Programmers Timothy A. Budd
Gebraucht - Gut
Broschiert
Pearson Education (US)
19990507
304
N/A
Die Abbildung des Buches dient nur Illustrationszwecken, die tatsächliche Bindung, das Cover und die Auflage können sich davon unterscheiden.
Dies ist ein gebrauchtes Buch. Es wurde schon einmal gelesen und weist von der früheren Nutzung Gebrauchsspuren auf. Wir gehen davon aus, dass es im Großen und Ganzen in einem guten Zustand ist. Sollten Sie jedoch nicht vollständig zufrieden sein, setzen Sie sich bitte mit uns in Verbindung.