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

Help with captcha script needed
Hello,

I am working on a script where reCAPTCHA or a similar form of CAPTCHA will be used, f

INSERT data problem!
After having an string with apostrophes ', double quotes " or any other special characters, suc

Stats of viewers
Hello. I have a website in php and people can login. I want to make an admin control panel where u c

pop3 and fsockopen
So I am able to connect to the pop3 server, log in, and check how many messages there are. I am hav

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

Basic Question about Threading and PHP...
I have a page that I am working on and it is taking several hours to process. The basics of what th

Displaying image from database
Hi,

I've got a site where that's got a database behind it. Currently it has loads of items in

Mail form doesn't send Russian/Cyrillic characters correctly?
When someone enters foreign characters (like Cyrillic text, and Japanese/Chinese probably gives the

ctype() validation - allowing illegal characters
Hello,
I use ctype() to filter and validate a user form. However, I am trying to allow certain c

sql error
I have been looking at this code for 20mins and can't work out what I am doing wrong. There is somet

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