Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Kirk, Dorothy R.

Title Deciphering Object-Oriented Programming with C++ : A Practical, in-Depth Guide to Implementing Object-oriented Design Principles to Create Robust Code. [O'Reilly electronic resource]

Publication Info. Birmingham : Packt Publishing, Limited, 2022.
QR Code
Description 1 online resource (594 p.)
Contents Cover -- Title Page -- Copyright and Credits -- Dedication -- Contributors -- Table of Contents -- Preface -- Part 1: C++ Building Block Essentials -- Chapter 1: Understanding Basic C++ Assumptions -- Technical requirements -- Reviewing basic C++ language syntax -- Comment styles -- Variable declarations and standard data types -- Variables and array basics -- Recapping basic I/O -- The iostream library -- Basic iostream manipulators -- Revisiting control structures, statements, and looping -- Control structures -- if, else if, and else -- Looping constructs -- while, do while, and for loops
Reviewing C++ operators -- Revisiting function basics -- Reviewing user defined type basics -- struct -- typedef and "using" alias declaration -- class -- enum and strongly-typed enum -- Recapping namespace basics -- Summary -- Questions -- Chapter 2: Adding Language Necessities -- Technical requirements -- Using the const and constexpr qualifiers -- const and constexpr variables -- const qualification with functions -- Working with function prototypes -- Defining function prototypes -- Naming arguments in function prototypes -- Adding default values to function prototypes
Prototyping with different default values in different scopes -- Understanding function overloading -- Learning the basics of function overloading -- Eliminating excessive overloading with standard type conversion -- Ambiguities arising from function overloading and type conversion -- Summary -- Questions -- Chapter 3: Indirect Addressing -- Pointers -- Technical requirements -- Understanding pointer basics and memory allocation -- Revisiting pointer basics -- Using the address-of and dereference operators -- Using operators new() and delete() -- Creating and using pointers to user defined types
Allocating and deallocating arrays at runtime -- Dynamically allocating single dimension arrays -- Dynamically allocating 2-D arrays -- an array of pointers -- Dynamically allocating 2-D arrays -- pointers to pointers -- Dynamically allocating N-D arrays -- pointers to pointers to pointers -- Using pointers with functions -- Passing pointers as arguments to functions -- Using pointers as return values from functions -- Using the const qualifier with pointers -- Using pointers to constant objects -- Using constant pointers to objects -- Using constant pointers to constant objects
Using pointers to constant objects as function arguments and as return types from functions -- Using pointers to objects of unspecified types -- Creating void pointers -- Looking ahead to smart pointers for safety -- Summary -- Questions -- Chapter 4: Indirect Addressing -- References -- Technical requirements -- Understanding reference basics -- Declaring, initializing, and accessing references -- Referencing existing objects of user defined types -- Using references with functions -- Passing references as arguments to functions -- Using references as return values from functions
Note Using the const qualifier with references
Summary Embrace object-oriented programming and explore language complexities, design patterns, and smart programming techniques using this hands-on guide with C++ 20 compliant examples. 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.
Subject C++ (Computer program language)
Object-oriented programming (Computer science)
C++ (Langage de programmation)
Programmation orientée objet (Informatique)
C++ (Computer program language)
Object-oriented programming (Computer science)
Other Form: Print version: Kirk, Dorothy R. Deciphering Object-Oriented Programming with C++ Birmingham : Packt Publishing, Limited,c2022
ISBN 9781804611081 electronic book
1804611085 electronic book
paperback
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information