Object-Oriented Constructors and Operators
Lecture no. 18 from the course: Introduction to C++: Programming Concepts and Applications
Taught by Professor John Keyser | 33 min | Categories: The Great Courses Plus Online Professional Development Courses
The ability to design appropriate classes may be the single most important skill in object-oriented programming. Survey two key tools for using classes effectively. First, constructors let you create classes that fit the requirements of the objects within them. Second, operator overloading allows you to tailor operators to a specific function, providing a handy shortcut that streamlines coding.