Sell Back Your Copy
For a $0.55 Gift Card
Trade in
Have one to sell? Sell yours here
C++ for Real Programmers, Revised Edition
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

C++ for Real Programmers, Revised Edition [Paperback]

Jeff Alger (Author)
4.0 out of 5 stars  See all reviews (6 customer reviews)


Available from these sellers.


Formats

Amazon Price New from Used from
Hardcover --  
Paperback --  

Book Description

Real Programmers February 26, 1998
Based on the successful first edition, Secrets of the C++ Masters (1995), this book provides a path to true C++ enlightenment. It has been carefully revised to thoroughly cover advanced programming techniques using C++. It includes valuable techniques organized into three categories: Smart Pointers, Class Hierarchies, and Memory Management, and includes applications-oriented coverage of numerous topics including template creation, exception handling, pointers, optimization, and types. The focus of the book is on ANSI C++, and it includes one 3.5" disk for Windows that features all the source code for examples presented in the book.

* A revision of the highly acclaimed Secrets of the C++ Masters
* Bridges the gap between C++ as described in beginner and intermediate-level books and C++ as practiced by experts
* Valuable techniques are described and organized into three simple themes: indirection, class hierarchies, and memory management
* Provides in depth coverage of template creation, exception handling, pointers and optimization techniques
* Book focuses in ANSI C++ and so is compiler independent
* Includes a 3.5" disk for Windows with source code of all examples in the book

Customers Who Viewed This Item Also Viewed


Editorial Reviews

Review

Praise for the First Edition, SECRETS OF THE C++ MASTERS
". . .The next five chapters are the most comprehensive development of 'smart pointers' that I have yet come across. This, or something like it should be compulsory reading for all who are going to program in an exception handling environment. The book would be worth buying for the last section alone but the next section . . . handling concepts of dispatch, multiple dispatch, and factory classes adds jam to it. . . . this book is an excellent starting point for those who have ambitions to becoming master technicians with C++."
--CVU, JOURNAL OF THE ASSOCIATION OF C/C++ USERS
"Alger . . . shows off the power of C++ to provide compact implementations of difficult areas . . . The coverage in all areas is thorough . . ."
--COMPUTING REVIEWS
"This book is written by one of the legends of object oriented technology . . . [it] is written in a clear and witty style, and the author often sees the lighter side of the language. It is a book that is really for people who have been programming in the language for several years and want to improve their knowledge of some of the intricacies and advanced features of the language. . . . The information is well organized and is ideal for self study."
--AUSTRALIAN COMPUTER JOURNAL

About the Author

Jeff Alger is a Group Program Manager at Microsoft Corporation with over 20 years of experience in software development. Before joining Microsoft, Jeff was a management consultant to Fortune 500 and multinational corporations, as well as commercial software vendors in the U.S. and Europe.


Product Details

  • Paperback: 388 pages
  • Publisher: Academic Press; Pap/Dsk Re edition (February 26, 1998)
  • Language: English
  • ISBN-10: 0120499428
  • ISBN-13: 978-0120499427
  • Product Dimensions: 9.7 x 7.6 x 1.2 inches
  • Shipping Weight: 1.8 pounds
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (6 customer reviews)
  • Amazon Best Sellers Rank: #1,771,581 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

6 Reviews
5 star:
 (3)
4 star:
 (2)
3 star:    (0)
2 star:    (0)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.0 out of 5 stars (6 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

9 of 9 people found the following review helpful:
4.0 out of 5 stars The author is fun, the book is interesting., May 31, 2000
By 
ZhongDan LAN (Newark, New Jersey, USA) - See all my reviews
(REAL NAME)   
This review is from: C++ for Real Programmers, Revised Edition (Paperback)
This is the a unique book I've read during my life. Its style is exceptionally relax.

It discusses some confusing c++ syntax and three special themes: indirection (smart pointer etc), homomorphic class hierachies (multiple dispatch, envelope-letter idiom) and memory spaces (reference counting techniques and relateds classes).

Some chpaters are especially intersting, for example:

Chapter 8 about collections, cursors, and iterators, the cursor idiom was also discussed in <<More effective c++>> as proxy, here, it is treated as kind of smart pointer.

chapter 9 about transactions, which discussions how to implement this important feature with brillang pointers (variation of smart pointer)..

I agree with the customer from Princeton, USA that the book is out of date & contains mistakes, for example

It uses old-style casts, is not const-correct (rarely use const member functions), doesn't make any reference to the standard library. It does not use protected instead of public when defining a class used for base class only (page 78, class UnsafeNode). Other detail errors: for example, on page 100, the name of the template used is Ptr, and the template defined is SP; on page 156, class ArrayOfFoo contains member Foo** contents, constructed by contents(new Foo*[size]), and the destructor should be delete[] contents and not delete contents.

Some important design errors, for example, on page 108, you see a template SPOS (stands for "Smart Pointer for Object Statistics").

class Counter { ... public: int conversions; int members;

};

template <class Type> class SPOS { private: Type* pointee; public operator Type*() { pointeee->conversions++; return pointee; } }

It's better to hide data "members" and "converions" in private section of Counter, and define increment functions for conversions++ and members++.

It is not exception safe, as almost every c++ book, except <<Exceptional c++>>, for example, on page 119, we see

template class<class Type> class MP { private: Type* t; public: MP<Type>& opertor=(const MP<Type>& mp) { if (&mp != this) { delete t; t = new Type(*(mp.t)); } return this; } }

We should replace delete t; t = new Type(*(mp.t));

by (no self assignment test!)

Type *tnew=new Type(*(mp.t)); delete t; t=tnew;

Why? consider what happens if you delete t and an exception was thrown during t=new Type(*(mp.t)).

For this class, we can also consider reference counting to avoid copy, see <<More effective c++>> for a deeper discusion.

Overall, this is a good book, but not must have. You can read <<More effective c++>> and <<Advanced c++ styles and idioms>> instead, but reading this book really will open your eyes, since its point of view is different and sometimes it's deeper. Concentrate on its interesting ideas and pay attention to its potential mistakes.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 2 people found the following review helpful:
4.0 out of 5 stars Exceptionally fun book, December 11, 1998
By A Customer
This review is from: C++ for Real Programmers, Revised Edition (Paperback)
Jeff's book isn't a tutorial, design handbook or step-by-step guide for C++ users, rather, it's an entry point into the C++ "Twilight Zone". It makes you think about C++ in completely new and exciting ways. I liked the book so much that I recommended it to all the members on my development team.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 2 people found the following review helpful:
5.0 out of 5 stars Terrific in depth explanation of advanced C++ techniques, October 8, 1998
By A Customer
This review is from: C++ for Real Programmers, Revised Edition (Paperback)
A worthy addition to my C++ library. The fact that Meyers and More Meyers are truly worthy of their universal acclaim, doesn't detract, in the least, from the value of this extremely well written text. This book is aimed at competent C++ programmers who want an in depth look at the motivations behind and the ramifications of a few well chosen C++ mechanisms. The comprehensive treatment of topics such as smart pointers and memory management offers a great introduction to the potential behind the somtimes exasperating scope of C++. Jeff Alger provides a real service for his target audience. Bravo... And Thanks.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews




Only search this product's reviews



Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(36)
(5)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject