Deleting pointers froms vector?

Posted on 16th Feb 2014 07:03 pm by admin

Hi. I have a vector filled with pointers and I want to delete the pointers. I could do a loop and do delete on all indexes, but my question is that if I just clear the vector. Are the pointers deleted, that is can the memory block that the pointer was pointing to be overwritten?

No comments posted yet

Your Answer:

Login to answer
281 Like 19 Dislike
Previous forums Next forums
Other forums

error help - Dynamic Image
I've been working on making my site less cluttered in the directories and more secure lately. In an

Php navigation
I have four buttons on a php page.
If i click a button it will redirect to different php pages.

Wrong Info sent Using $get in form
Hi i have this code that i tried to make to send some info from one page to aother with lots of ppls

Beginner question regarding Array's
Hi everyone, the page im working on has an array of variable at the top...

Code: $define_li

limit string by words??
hello all,

I was wonder if there is a function to limit a string by the number of words inste

Remove directories not empty
i have an array that contains some names (1,4,6,56...). Every integer is a name of a folder.<

date("now") prints out wrong date ?
Hi Guys
Anyone know why and how I can fix it ?

Windows 7
Windows 7 default user account control worries experts. Corporate IT departments should be pleased w

Dynamic memory problem

At the beginning of my code, I have this line:

Shape* gShape = 0;

need help to creat database
Hello Team, please guys i am stuck from three days with paypal issue for IPN but no luck yet now i w

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS

Play Free Quiz and Win Cash