objects

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jacques123
    New Member
    • Sep 2006
    • 1

    #1

    objects

    when and how are heap objects created and initialized
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Objects on the heap generally get there through the use of malloc/calloc or new.

    If the objected is malloc/calloc'd then it is not initialised, if the object is new'd then as it is new'd it's constructor is called.

    Comment

    Working...