Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Deciphering Object-Oriented Programming with C++ [WARNING: NOT FOR USE IN OTHER MATERIAL/SEE CONTRACT]

You're reading from   Deciphering Object-Oriented Programming with C++ [WARNING: NOT FOR USE IN OTHER MATERIAL/SEE CONTRACT] A practical, in-depth guide to implementing object-oriented design principles to create robust code

Arrow left icon
Product type Paperback
Published in Sep 2022
Publisher Packt
ISBN-13 9781804613900
Length 594 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Dorothy R. Kirk Dorothy R. Kirk
Author Profile Icon Dorothy R. Kirk
Dorothy R. Kirk
Arrow right icon
View More author details
Toc

Table of Contents (30) Chapters Close

Preface 1. Part 1: C++ Building Block Essentials
2. Chapter 1: Understanding Basic C++ Assumptions FREE CHAPTER 3. Chapter 2: Adding Language Necessities 4. Chapter 3: Indirect Addressing – Pointers 5. Chapter 4: Indirect Addressing – References 6. Part 2: Implementing Object-Oriented Concepts in C++
7. Chapter 5: Exploring Classes in Detail 8. Chapter 6: Implementing Hierarchies with Single Inheritance 9. Chapter 7: Utilizing Dynamic Binding through Polymorphism 10. Chapter 8: Mastering Abstract Classes 11. Chapter 9: Exploring Multiple Inheritance 12. Chapter 10: Implementing Association, Aggregation, and Composition 13. Part 3: Expanding Your C++ Programming Repertoire
14. Chapter 11: Handling Exceptions 15. Chapter 12: Friends and Operator Overloading 16. Chapter 13: Working with Templates 17. Chapter 14: Understanding STL Basics 18. Chapter 15: Testing Classes and Components 19. Part 4: Design Patterns and Idioms in C++
20. Chapter 16: Using the Observer Pattern 21. Chapter 17: Applying the Factory Pattern 22. Chapter 18: Applying the Adapter Pattern 23. Chapter 19: Using the Singleton Pattern 24. Chapter 20: Removing Implementation Details Using the pImpl Pattern 25. Part 5: Considerations for Safer Programming in C++
26. Chapter 21: Making C++ Safer 27. Assessments 28. Index 29. Other Books You May Enjoy

Preface

Companies choose to utilize C++ for its speed; however, object-oriented (OO) software design leads to more robust code that is easier to modify and maintain. Understanding how to utilize C++ as an object-oriented language is, therefore, essential. Programming in C++ won’t guarantee object-oriented programming (OOP) – you must understand OO concepts and how they map to C++ language features and programming techniques. Additionally, programmers will want to harness additional skills beyond OOP to make code more generic and robust, as well as employ well-tested, creative solutions that can be found in popular design patterns. It is also critical for programmers to understand language features and conventions that can make C++ a safer language to use.

A programmer who learns how to use C++ as an object-oriented language, following safe programming conventions, will become a valuable C++ developer – a developer whose code is easy to maintain, modify, and be understood by others.

This book has step-by-step explanations of essential OO concepts, paired with practical examples in code and often with diagrams so you can truly understand how and why things work. Self-assessment questions are available to test your skills.

This book first provides necessary building blocks of skills (which may not be object-oriented) that provide the essential foundation on which to build OOP skills. Next, OO concepts will be described and paired with language features as well as coding techniques so that you can understand how to use C++ as an OOP language successfully. Additionally, more advanced skills are added to augment the programmer’s repertoire, including friend function/classes, operator overloading, templates (to build more generic code), exception handling (to build robust code), Standard Template Library (STL) basics, as well as design patterns and idioms. The book wraps up by re-examining programming constructs presented throughout the book, paired with conventions that lead to safer programming in C++. The end goal is to enable you to produce robust code that is easy to maintain and understand by others.

By the end of this book, you will understand both essential and advanced OO concepts and how to implement these concepts in C++. You will have a versatile toolkit of C++ programming skills. You will additionally understand ways to make safer, more robust, and easily maintainable code, as well as understand how to employ well-tested design patterns as part of your programming repertoire.

lock icon The rest of the chapter is locked
Next Section arrow right
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime