Easy C++



by John Kopp

Support this site at no cost to you

Definition: The constructor is a member function of a class. It is invoked every time an object is created. It no explicit constructors are defined, the default constructor, which the compiler provides is used.

Related Terms:
• class
• destructor

Please use the back button on your browser to return to the last page

           Full Glossary