From 7e0f021a9aec35fd8e6725e87e3313b101d26f5e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 27 Jan 2008 11:37:44 +0100 Subject: Initial import (2.0.2-6) --- reference/CPLUSPLUS/CONCEPT/constructor.html | 78 ++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 reference/CPLUSPLUS/CONCEPT/constructor.html (limited to 'reference/CPLUSPLUS/CONCEPT/constructor.html') diff --git a/reference/CPLUSPLUS/CONCEPT/constructor.html b/reference/CPLUSPLUS/CONCEPT/constructor.html new file mode 100644 index 0000000..29b3cc4 --- /dev/null +++ b/reference/CPLUSPLUS/CONCEPT/constructor.html @@ -0,0 +1,78 @@ + + +Constructors and Destructors. + + + +
+

Constructors and Destructors.

+
+ +

Constructor

+ +The constructor is executed when an object is created. +Its purpose is to initalise variables with in an object +before they can be used. + + +
    +
  • If you do not provide a constructor for a class, the compiler + will create a default constructor for you. + +
  • If the object has global scope, the constructor is executed + before main() +
+ +
+

Copy Constructor

+ +
+

Assignment Constructor

+ +
+

Destructor

+

+ +


+

See Also:

+ +
+
+ +

C References

+

+o +data types. + + + +


+

+

+ + + + +
+Top + +Master Index + +Keywords + +Functions +
+
+

+


+ +
Martin Leslie + +

+ + + -- cgit v1.2.3-54-g00ecf