This is an old revision of this page, as edited by Mecanismo (talk | contribs) at 17:54, 17 July 2005 (Starting point.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 17:54, 17 July 2005 by Mecanismo (talk | contribs) (Starting point.)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)In object-oriented programming, a constructor is a method which is automatically invoked when the object is created . It's main purpose is to pre-define the object's data members and therefore initialize the environment where it operates.
See also
References
- Bjarne Stroustrup: The C++ Programming Language, Addison-Wesley, ISBN 0-201-70073-5