mardi 21 avril 2015

How to clear the memory correctly?

I have some code:

MemoryManager mm;
char *a = new (mm) char [len +1];

How can I free all the memory by pointer a?

Aucun commentaire:

Enregistrer un commentaire