Quote:
Originally Posted by K.K.Lv
about the memory, I use the class, so I think the memory will be free when the class end(am I correct ?).
|
Nope, for any new there must be a corresponding delete. And if third party library requires manual deallocation, you must do it.
__________________