Struct Class « Class « C++






1.Constructor and destructor inside a structConstructor and destructor inside a struct
2.Stack class using a structure.Stack class using a structure.
3.Using a structure to define a class.Using a structure to define a class.
4.Classes and Structures are Related
5.Using a class instead of struct.
6.add method to struct
7.use struct to initialize a class