Home
C++
Bitset
Class
Console
Data Structure
Data Type
Deque
Development
File
Function
Generic
Language
List
Map Multimap
Overload
Pointer
Qt
Queue Stack
Set Multiset
STL Algorithms Binary search
STL Algorithms Heap
STL Algorithms Helper
STL Algorithms Iterator
STL Algorithms Merge
STL Algorithms Min Max
STL Algorithms Modifying sequence operations
STL Algorithms Non modifying sequence operations
STL Algorithms Sorting
STL Basics
String
Valarray
Vector
Class Basics « Class « C++
C++
Class
Class Basics
1.
Class forward declaration
2.
Simplest class definition
3.
A simple class with member variable, constructor, destructor
4.
Address class: class definition and implementation
5.
Declare class instance
6.
Constructor: different parameter type
7.
Declare Class instance and use them
8.
Assign object1 to object2
9.
Init Object array