Professional Documents
Culture Documents
Classes and Objexts in C++
Classes and Objexts in C++
It defines class, introduces creation of objects, declaration and definition of member functions, declaration and access of the class data members to implement the class's methods, calling an object's member functions to make them perform their tasks, using access functions and utility functions, initializing objects with constructors, destroying objects with destructors. This module also discusses declaring and using constant objects, constant member functions, the process of building classes that have objects of other classes as members, friend functions and friend class that have special access rights to the private and protected members of objects of another class, the this pointer: which enables an object to know its own address, dynamic memory allocation, static class members for containing and manipulating class-wide data.
Unit: Abstract data type Unit: OOP concepts Unit: Classes, Objects and Defining Classes Unit: Constructors and Destructors Unit: Arrays and Classes Unit: Functions and classes
ADT Overview: Summary: Objectives: Unit Level Problems: OOP Concepts: Overview: Summary: Objectives: Unit Level Problems: Classes, Objects and defining classes Overview: Summary: Objectives: Unit Level Problems: Constructors and Destructors Overview: Summary: Objectives: Unit Level Problems: Arrays and Classes Overview: Summary: Objectives: Unit Level Problems: Functions and classes Overview: Summary: Objectives: Unit Level Problems: Module level Problems Modules learning strategy