Please enable JavaScript.
Coggle requires JavaScript to display documents.
Introduction to Abstract Data Type (ADT) & C++ Revision - Coggle…
Introduction to Abstract Data Type (ADT) & C++ Revision
Information Hiding
Abstraction
Encapsulation
C++ Class
Constructor
Default Constructor Implementation
Constructor with Argument Implementation
Constructor with Default Argument Implementation
Destructor
C++ Function
const function
Invoking member function
Invoke form member function of the same class
Class as function parameter
Pass by reference
Pass by const reference
Pass by value
Class as return value from function
Array of class
Calling using array subscript
Pass array of object to function
Pointer to object
Basic C++ File Operations
Create input file as .txt file
Include header file fstream.h
Declare the object file as file input or output
Open file before operations and test whether the file is successfully opened.
Implement file operations
Close file
Header File and Implementation File
Classname.cpp
Classname.h