Free Web Hosting with Website Builder


DOWNLOAD FREE EBOOK EFFECTIVE C++ THIRD EDITION 55 SPECIFIC WAYS TO IMPROVE YOUR PROGRAMS AND DESIGNS

C++ Add comments

Chapter 1.  Accustoming Yourself to C++
Item 1: View C++ as a federation of languages
Item 2: Prefer consts, enums, and inlines to #defines
Item 3: Use const whenever possible
Item 4: Make trusty that objects are initialized before they’re used
Chapter 2.  Constructors, Destructors, and Assignment Operators
Item 5: Know what functions C++ silently writes and calls
Item 6: Explicitly disallow the ingest of compiler-generated functions you do not want
Item 7: Declare destructors realistic in multiform humble classes
Item 8: Prevent exceptions from leaving destructors
Item 9: Never call realistic functions during cerebration or destruction
Item 10: Have naming operators convey a meaning to *this
Item 11: Handle naming to consciousness in operator=
Item 12: Copy every parts of an object
Chapter 3.  Resource Management
Item 13: Use objects to control resources.
Item 14: Think carefully most copying activity in resource-managing classes.
Item 15: Provide admittance to nakedness resources in resource-managing classes.
Item 16: Use the aforementioned modify in same uses of newborn and delete.
Item 17: Store newed objects in sharp pointers in standalone statements.
Chapter 4.  Designs and Declarations
Item 18: Make interfaces cushy to ingest aright and hornlike to ingest incorrectly
Item 19: Treat collection organisation as identify design
Item 20: Prefer pass-by-reference-to-const to pass-by-value
Item 21: Don’t essay to convey a meaning when you staleness convey an object
Item 22: Declare accumulation members private
Item 23: Prefer non-member non-friend functions to member functions
Item 24: Declare non-member functions when identify conversions should administer to every parameters
Item 25: Consider hold for a non-throwing swap
Chapter 5.  Implementations
Item 26: Postpone uncertain definitions as daylong as possible.
Item 27: Minimize casting.
Item 28: Avoid backward “handles” to goal internals.
Item29: Strive for exception-safe code.
Item 30: Understand the ins and outs of inlining.
Item31: Minimize assembling dependencies between files.
Chapter 6.  Inheritance and Object-Oriented Design
Item 32: Make trusty open acquisition models “is-a.”
Item 33: Avoid hiding inherited names
Item 34: Differentiate between acquisition of programme and acquisition of implementation
Item 35: Consider alternatives to realistic functions
Item 36: Never redefine an inherited non-virtual function
Item 37: Never redefine a function’s inherited choice constant value
Item 38: Model “has-a” or “is-implemented-in-terms-of” finished composition
Item 39: Use clannish acquisition judiciously
Item 40: Use binary acquisition judiciously
Chapter 7.  Templates and Generic Programming
Item 41: Understand inherent interfaces and compile-time polymorphism
Item 42: Understand the digit meanings of typename
Item 43: Know how to admittance obloquy in templatized humble classes
Item 44: Factor parameter-independent cipher discover of templates
Item 45: Use member duty templates to accept “all harmonious types.”
Item 46: Define non-member functions exclusive templates when identify conversions are desired
Item 47: Use traits classes for aggregation most types
Item 48: Be alive of model metaprogramming
Chapter 8.  Customizing newborn and delete
Item 49: Understand the activity of the new-handler
Item 50: Understand when it makes significance to change newborn and delete
Item 51: Adhere to gathering when composition newborn and delete
Item 52: Write positioning withdraw if you indite positioning new
Chapter 9.  Miscellany
Item 53: Pay tending to programme warnings.
Item 54: Familiarize yourself with the accepted library, including TR1
Item.55: Familiarize yourself with Boost.
Download liberated ebooks of c/c++: Effective C++ Third Edition 55 Specific Ways to Improve Your Programs and Designs

Leave a Reply

You must be logged in to post a comment.





WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login