Effective C++
Book information
Description
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.
Similar books
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library
2001 · PDF
Overview of the New C++ (C++0x)
Effective C++: 55 Specific Ways to Improve Your Programs and Designs
2005 · PDF
Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14
2014 · PDF
Effective C++: 55 Specific Ways to Improve Your Programs and Designs
2005 · PDF
Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14
2014 · PDF
Effective C++ in an Embedded Environment
2012 · PDF
Effective Modern C++
2022 · EPUB