Synopses & Reviews
For experienced Java programmers and students who require the skills of C++ programming, best-selling author Mark Allen Weiss bridges the gap. He efficiently presents the complex C++ language in this well-designed tutorial/reference that both students and seasoned programmers will appreciate. The book is ideal as a primary text for intermediate C++ courses, as a supplemental no-nonsense reference for other courses, or for independent learning by professionals.
C++ for Java Programmers is a concise, well-written text that provides authoritative and up-to-date coverage of key features and details of C++, with a special focus on how C++ compares to Java. The book's approach shows knowledgeable students or professionals how to grasp the complexities of C++ and harness its power by mutually addressing the benefits and the pitfalls of the two languages. By highlighting the features and comparative elements of each language, and building on the reader's existing knowledge of object-oriented programming, C++ for Java Programmers enables users to master the essentials of C++ quickly and thoroughly. Key Features
- Includes insightful comparisons of the two programming languages throughout the text and points out the subtleties of C++
- Succinctly covers the pertinent highlights of STL (Standard Template Library) and the most effective use of templates
- Explains the use of the powerful JNI (Java Native Interface) for combining Java and C++
- Includes a summary of key C++ features and issues with each chapter
- Provides extensive treatment of C details the programmer is likely to encounter in C++
- Companion Website for complete online source code at:
- Available Instructors Resource CD-ROM
Written for the moderately experienced Java programmer, this book builds on readers¿ existing knowledge of object-oriented programming and covers all important aspects of Standard C++—emphasizing more lower-level C-style details later in the presentation. Chapter topics include philosophy of C++, simplest C++, pointers and reference variables, object-based programming: classes, operator overloading, object-oriented programming: inheritance, templates, abnormal control flow, input and output, collections: the standard template library, primitive arrays and strings, C-style C++, and using Java and C++: the JNI. For new C++ programmers converted from Java.
Table of Contents
1. Basic Types and Control Structures.
2. Functions, Arrays, Strings, and Parameter Passing.
3. Pointers and Reference Variables.
4. Object-Based Programming: Classes.
5. Operator Overloading.
6. Object-Oriented Programming: Inheritance.
8. Abnormal Control Flow.
9. Input and Output.
10. Collections: The Standard Template Library.
11. Primitive Arrays and Strings.
12. C-Style C++.
13. Using Java and C++: The JNI.