Puzzle T27


TriangleMod destructor

Because it is crucial to free memory in the correct order, that order should be encapsulated in a function. Add the following function to the previous program and use it at the end to free memory

void freeTriangleMod( TriangleMod *t )


Answer         Next Page         Previous Page Home