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.
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.
Why buy from World of Books
Our excellent value books literally don't cost the earth
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.
Table of Contents
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.
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.
C++ For Java Programmers by Timothy A. Budd
Timothy A. Budd
Used - Very Good
Pearson Education (US)
Book picture is for illustrative purposes only, actual binding, cover or edition may vary.
This is a used book - there is no escaping the fact it has been read by someone else and it will show signs of wear and previous use. Overall we expect it to be in very good condition, but if you are not entirely satisfied please get in touch with us.