Szczegóły ebooka

Deciphering Object-Oriented Programming with C++. A practical, in-depth guide to implementing object-oriented design principles to create robust code

Deciphering Object-Oriented Programming with C++. A practical, in-depth guide to implementing object-oriented design principles to create robust code

Dorothy R. Kirk

Ebook
Even though object-oriented software design enables more easily maintainable code, companies choose C++ as an OO language for its speed. Object-oriented programming in C++ is not automatic – it is crucial to understand OO concepts and how they map to both C++ language features and OOP techniques. Distinguishing your code by utilizing well-tested, creative solutions, which can be found in popular design patterns, is crucial in today’s marketplace. This book will help you to harness OOP in C++ to write better code.
Starting with the essential C++ features, which serve as building blocks for the key chapters, this book focuses on explaining fundamental object-oriented concepts and shows you how to implement them in C++. With the help of practical code examples and diagrams, you’ll learn how and why things work. The book’s coverage furthers your C++ repertoire by including templates, exceptions, operator overloading, STL, and OO component testing. You’ll discover popular design patterns with in-depth examples and understand how to use them as effective programming solutions to solve recurring OOP problems.
By the end of this book, you’ll be able to employ essential and advanced OOP concepts to create enduring and robust software.
  • 1. Understanding Basic C++ Assumptions
  • 2. Adding Language Necessities
  • 3. Indirect Addressing: Pointers
  • 4. Indirect Addressing: References
  • 5. Exploring Classes in Detail
  • 6. Implementing Hierarchies with Single Inheritance
  • 7. Utilizing Dynamic Binding through Polymorphism
  • 8. Mastering Abstract Classes
  • 9. Exploring Multiple Inheritance
  • 10. Implementing Association, Aggregation, and Composition
  • 11. Handling Exceptions
  • 12. Friends and Operator Overloading
  • 13. Working with Templates
  • 14. Understanding STL Basics
  • 15. Testing Classes and Components
  • 16. Using the Observer Pattern
  • 17. Applying the Factory Pattern
  • 18. Applying the Adapter Pattern
  • 19. Using the Singleton Pattern
  • 20. Removing Implementation Details Using the pImpl Pattern
  • 21. Making C++ Safer
  • Tytuł: Deciphering Object-Oriented Programming with C++. A practical, in-depth guide to implementing object-oriented design principles to create robust code
  • Autor: Dorothy R. Kirk
  • Tytuł oryginału: Deciphering Object-Oriented Programming with C++. A practical, in-depth guide to implementing object-oriented design principles to create robust code
  • ISBN: 9781804611081, 9781804611081
  • Data wydania: 2022-09-23
  • Format: Ebook
  • Identyfikator pozycji: e_39y5
  • Wydawca: Packt Publishing