Effective C++: 50 Specific Ways to Improve Your Programs and Design (2nd Edition)


General

Subtitle:
Author: Meyers, Scott
Binding: Paperback
Purchase Date:
Purchase Price:
Amazon Link: Buy from Amazon.com

Publishing

Publisher: Addison-Wesley Professional
Edition: 2
Copyright Year:
Publication Year: 1997
ISBN#: 0-201-92488-9
LCCN#:
Pages: 288
Language:

Comments

This exceptionally useful text offers Scott Myers's expertise in C++ class design and programming tips. The second edition incorporates recent advances to C++ included in the ISO standard, including namespaces and built-in template classes, and is required reading for any working C++ developer.

The book opens with some hints for porting code from C to C++ and then moves on to the proper use of the new and delete operators in C++ for more robust memory management. The text then proceeds to class design, including the proper use of constructors, destructors, and overloaded operator functions for assignment within classes. (These guidelines ensure that you will create custom C++ classes that are fully functional data types, which can be copied and assigned just like built-in C++ classes.)

The author also provides a handful of suggestions for general class design, including strategies for using different types of inheritance and encapsulation. Never doctrinaire and always intelligent, these guidelines can make your C++ classes more robust and easier to maintain. --Richard Dragan