Dynamic Memory question


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by David Shell on April 19, 2001 at 23:33:24:

The spec says we have to allocate the creatures dynamically... Do the stl lists and queues take care of this, or do we have to allocate each creature dynamically ourselves, and store pointers in the stl containers? Or is it the case that the stl containers allocate their storage dynamically, so we can create create creatures normally, and store a copy in the stl containers, and then let the creatures we created go out of scope?


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]