Introduction to Classes and Objects in C++
Ever wondered how they maintain all the data and behaviors for the items in your inventory in a video game? Or maybe you've thought about how super-complex complex systems like banking systems, store management software, automotive digital diagnostic systems and tons of other applications were built? There's often a good chance that many of these applications use some form of Object-Oriented Programming. In this lesson, we look at Object-Oriented Programming, focusing on objects and classes.
Learning Objectives
- Understand how classes are designed and constructed and how objects are created from them
- Explore both the data members and member functions from which we build classes
- Learn how to instantiate classes as objects
- Learn how to use a rectangle class and a book class together and test them out
Intended Audience
- Beginner coders, new to C++
- Developers looking to upskill by adding C++ to their CV
- College students and anyone studying C++
Prerequisites
To get the most out of this lesson, you should have a basic understanding of the fundamentals of C++.
John has a Ph.D. in Computer Science and is a professional software engineer and consultant, as well as a computer science university professor and department chair.