[Basic C++] 14 – Data Structure in C++ : Class Constructor and Destructor
2020. 6. 13.
In this post, I am going to talk about constructors and deconstructors as the second part of C++ class series. Table of contents 1. What is a constructor 2. What is a destructor 3. Class copy and copy constructor Now we know what a C++ class is. A class is a data type to define an abstract idea existing in the real world like a car or a person, as C++ does not have such data types incorporated. ..