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

Dynamic Array using glob?
Is there an easier way to do this?

I am trying to get create a dyamic array based on files wi

Text to picture Generator
Hello, i have found this script and it works really good^^ But i have one problem, i would like to c

IIS on 2003 anon access disabled issue
I have an IIS server that belongs to a domain, and anonymous access is turned off for all my sites.

How would I protect......
I have a from, actually, a good amount of forms. How can I make it so you can't type the characters:

PHP/Database issue
My friend is helping me make a database where you go to a certain webpage of my site and the page wi

switch form actions? not working
i want on submit to go to different pages according to the CatID

Code: <?php $CatID=$_

Help with usergroups? prolly really quick
So were coding our own forums for a game system we made an we have the users level setup but now I n

MII Netweaver Server stopped due to CPIC connection Problem
Dear Experts,
We have SAP XMII 12.0 setup running on Netweaver 2004s,7.0, Java Stack only.

Word filter problem
Hello,

im trying to make a filter for words inputted in to my website but i want to store the

Adding delete feature to my forum
Hello I am currently trying to add a delete feature to my forum. I believe I have everything built r

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