阅读背景:

Deleting one of 2 pointers that point to the same thing

来源:互联网 

So i have an array of pointers that point to objects, and a pointer that points to each object elsewhere in my code. What i want is when i delete those other pointer. How do i rearrange my array of pointers so that there's no garbage values in the middle of it. I have a rearrange function that checks for NULL but the pointer doesn't point to NULL. So i have an array of pointers that point to ob




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: