Mark A. Weiss C++ for Java Programmers

ISBN 13: 9780139194245

C++ for Java Programmers

3.66 avg rating
( 32 ratings by Goodreads )
 
9780139194245: C++ for Java Programmers

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.

"synopsis" may belong to another edition of this title.

From the Back Cover:

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:
    http://www.prenhall.com/weiss
  • Available Instructors Resource CD-ROM

Excerpt. Reprinted by permission. All rights reserved.:

For many years, C++ was the defacto language of choice in introductory Computer Science courses, due largely to its support for object-oriented programming, as well as its wide adoption in industry. However, because C++ is arguably the most complex language ever to be widely-used, Java, which also supports object-oriented programming, recently has emerged as the preferred introductory language. Nonetheless, demand for C++ skill is still high in industry and most universities require C++ programming at some point in the Computer Science curriculum. Although Java and C++ look similar, programming in C++ is somewhat more challenging and filled with subtle details. While there are many books that thoroughly describe C++ (see the Bibliography), the vast majority exceed 1,000 pages and, for the most part, are written for either experienced industry programmers or novices.

This book is designed as a quick start guide for students who are knowledgeable in an object-oriented language (most likely Java) and would like to learn C++. Throughout the text, we compare and contrast Java and C++, and show C++ substitutes for Java equivalents. We do not describe in detail basic concepts (such as inheritance) that are common in both C++ and Java; rather, we describe how the concepts are implemented in C++. This helps achieve one of the important goals of this book, which is to keep the page count reasonably low. Consequently, this book is not appropriate for students who have limited or no prior programming experience.

Organization

The book begins with a brief overview of C++ in Chapter 0. In Chapter 1, we describe some of the basic expressions and statements in C++, which mostly mirror simple Java syntax. Functions, arrays, strings, and parameter passing are discussed in Chapter 2. We use the modern alternative of introducing and using the standard vector and string classes in the C++ library, rather than the older-style built-in array constructs.

Chapter 3 describes pointers and reference variables, paying particular attention to the host of pitfalls that await a C++ programmer. Chapter 4 is a long chapter that describes the basics of classes.

Two C++ features that are not part of Java are operator overloading and templates. Operator overloading is discussed in Chapter 5 and templates are discussed in Chapter 7. In between, we cover inheritance in Chapter 6. In Chapter 8, we examine exceptions in C++, as well as older library routines such as abort.

The next two chapters discuss some C++ libraries. Chapter 9 deals with I/O and Chapter 10 introduces the Standard Template Library, which is the C++ equivalent of the Collections API. Both libraries are complex enough to require an entire book: We provide the most important highlights, rather than attempting to list every detail.

Many courses will require C programming in addition to C++ programming. Because C++ builds on C, many C programming techniques are also found in C++, although in C++ they are not always the preferred way to do things. Chapter 11 covers primitive arrays and strings. As we mentioned earlier, modern C++ uses library classes as an alternative. Nonetheless, primitive arrays and strings will almost certainly be encountered by any C++ programmer, and the techniques are essentially the same in C++ and C. Chapter 12 covers C idioms that are occasionally used in C++, but probably should be avoided. Finally, in Chapter 13, we describe the Java Native Interface (again a whole book can be written on this one topic), which allows Java programmers to implement their methods in C++ or C.

"About this title" may belong to another edition of this title.

Top Search Results from the AbeBooks Marketplace

1.

Weiss, Mark A.
Published by Prentice Hall (2003)
ISBN 10: 013919424X ISBN 13: 9780139194245
New Soft cover First Edition Quantity Available: 5
Seller
route99
(Poole, United Kingdom)
Rating
[?]

Book Description Prentice Hall, 2003. Soft cover. Book Condition: New. Dust Jacket Condition: New. 1st Edition. (New english textbook only). Language: eng. Bookseller Inventory # ABE-15532363263

More Information About This Seller | Ask Bookseller a Question

Buy New
39
Convert Currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, Rates & Speeds

2.

Weiss, Mark A.
Published by Pearson (2003)
ISBN 10: 013919424X ISBN 13: 9780139194245
New Paperback Quantity Available: 3
Seller
bukh4u
(Shah Alam, SEL, Malaysia)
Rating
[?]

Book Description Pearson, 2003. Paperback. Book Condition: New. Estimated delivery 3-6 DAYS. New and ship via DHL with online tracking provided. NO P.O BOX/ APO/ FPO. Thank you. Bookseller Inventory # 013919424X

More Information About This Seller | Ask Bookseller a Question

Buy New
47.61
Convert Currency

Add to Basket

Shipping: FREE
From Malaysia to U.S.A.
Destination, Rates & Speeds

3.

Weiss, Mark Allen
Published by Prentice Hall
ISBN 10: 013919424X ISBN 13: 9780139194245
New Quantity Available: > 20
Seller
INDOO
(Avenel, NJ, U.S.A.)
Rating
[?]

Book Description Prentice Hall. Book Condition: New. Brand New. Bookseller Inventory # 013919424X

More Information About This Seller | Ask Bookseller a Question

Buy New
68.27
Convert Currency

Add to Basket

Shipping: 2.69
Within U.S.A.
Destination, Rates & Speeds

4.

Weiss, Mark A.
Published by Pearson
ISBN 10: 013919424X ISBN 13: 9780139194245
New PAPERBACK Quantity Available: 1
Seller
Cloud 9 Books
(Wellington, FL, U.S.A.)
Rating
[?]

Book Description Pearson. PAPERBACK. Book Condition: New. 013919424X New Condition. Bookseller Inventory # NEW6.0930159

More Information About This Seller | Ask Bookseller a Question

Buy New
69.19
Convert Currency

Add to Basket

Shipping: 3.83
Within U.S.A.
Destination, Rates & Speeds

5.

Weiss, Mark A.
ISBN 10: 013919424X ISBN 13: 9780139194245
New Quantity Available: 1
Seller
Paperbackshop-US
(Wood Dale, IL, U.S.A.)
Rating
[?]

Book Description 2003. HRD. Book Condition: New. New Book. Shipped from US within 10 to 14 business days. Established seller since 2000. Bookseller Inventory # KS-9780139194245

More Information About This Seller | Ask Bookseller a Question

Buy New
70.42
Convert Currency

Add to Basket

Shipping: 3.06
Within U.S.A.
Destination, Rates & Speeds

6.

Weiss, Mark A.
Published by Pearson (2003)
ISBN 10: 013919424X ISBN 13: 9780139194245
New Paperback Quantity Available: 2
Seller
Murray Media
(North Miami Beach, FL, U.S.A.)
Rating
[?]

Book Description Pearson, 2003. Paperback. Book Condition: New. Bookseller Inventory # P11013919424X

More Information About This Seller | Ask Bookseller a Question

Buy New
75.28
Convert Currency

Add to Basket

Shipping: 2.30
Within U.S.A.
Destination, Rates & Speeds

7.

Mark Allen Weiss
Published by Pearson Education (US), United States (2003)
ISBN 10: 013919424X ISBN 13: 9780139194245
New Hardcover Quantity Available: 1
Seller
The Book Depository
(London, United Kingdom)
Rating
[?]

Book Description Pearson Education (US), United States, 2003. Hardback. Book Condition: New. United States ed. Language: English . Brand New Book. For courses in C++ Intermediate Programming. Best selling author Mark Allen Weiss wrote this book as a concise no-nonsense introduction to C++ for experienced programmers learning a second language or for use as a supplemental reference in C++ based courses such as data structures. The book could be used as a primary textbook for moderately experienced Java programmers who need a concise and authoritative tutorial/reference to C++. He builds on students existing knowledge of Java programming and Weiss covers all important aspects of the complex C++ language in under 300 pages. Bookseller Inventory # AAS9780139194245

More Information About This Seller | Ask Bookseller a Question

Buy New
79.60
Convert Currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, Rates & Speeds

8.

Mark Allen Weiss
Published by Pearson Education (US), United States (2003)
ISBN 10: 013919424X ISBN 13: 9780139194245
New Hardcover Quantity Available: 10
Seller
Book Depository hard to find
(London, United Kingdom)
Rating
[?]

Book Description Pearson Education (US), United States, 2003. Hardback. Book Condition: New. United States ed. Language: English . This book usually ship within 10-15 business days and we will endeavor to dispatch orders quicker than this where possible. Brand New Book. For courses in C++ Intermediate Programming. Best selling author Mark Allen Weiss wrote this book as a concise no-nonsense introduction to C++ for experienced programmers learning a second language or for use as a supplemental reference in C++ based courses such as data structures. The book could be used as a primary textbook for moderately experienced Java programmers who need a concise and authoritative tutorial/reference to C++. He builds on students existing knowledge of Java programming and Weiss covers all important aspects of the complex C++ language in under 300 pages. Bookseller Inventory # BTE9780139194245

More Information About This Seller | Ask Bookseller a Question

Buy New
80.02
Convert Currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, Rates & Speeds

9.

Mark Allen Weiss
Published by Pearson Education (US), United States (2003)
ISBN 10: 013919424X ISBN 13: 9780139194245
New Hardcover Quantity Available: 1
Seller
The Book Depository US
(London, United Kingdom)
Rating
[?]

Book Description Pearson Education (US), United States, 2003. Hardback. Book Condition: New. United States ed. Language: English . Brand New Book. For courses in C++ Intermediate Programming. Best selling author Mark Allen Weiss wrote this book as a concise no-nonsense introduction to C++ for experienced programmers learning a second language or for use as a supplemental reference in C++ based courses such as data structures. The book could be used as a primary textbook for moderately experienced Java programmers who need a concise and authoritative tutorial/reference to C++. He builds on students existing knowledge of Java programming and Weiss covers all important aspects of the complex C++ language in under 300 pages. Bookseller Inventory # AAS9780139194245

More Information About This Seller | Ask Bookseller a Question

Buy New
81.98
Convert Currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, Rates & Speeds

10.

Weiss, Mark A.
Published by U.S.A.: Pearson (2003)
ISBN 10: 013919424X ISBN 13: 9780139194245
New Soft cover First Edition Quantity Available: > 20
Seller
William Horton
(Phoenix, AZ, U.S.A.)
Rating
[?]

Book Description U.S.A.: Pearson, 2003. Soft cover. Book Condition: New. 1st Edition. Brand new book - US student edition - fast delivery--. Bookseller Inventory # ABE-17953358115

More Information About This Seller | Ask Bookseller a Question

Buy New
82.64
Convert Currency

Add to Basket

Shipping: 3.03
Within U.S.A.
Destination, Rates & Speeds

There are more copies of this book

View all search results for this book