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.

Copy Constructor

Assignment Constructor

Destructor


Examples:

o
Example program.


See Also:


C References

o data types.



Martin Leslie

AltStyle によって変換されたページ (->オリジナル) /