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

Accept only alpha characters
I've got this bit of code ready for accepting a phrase:

Code: if (!eregi ("", $_POS

start new row of pictures
on my site www.budstreasureauctions.com there is a featured auctions box that users will pay to get

PHP XML extraction text
I would like to extract an xml text and have that text directly echo(print) out on my web page. Her

Keep newlines from textarea?..
I'm creating a simple encoding program, and what I want it to do is retain the newlines, as echoing

Calculating n! using vector
#include
#include
#include

using

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

Form File Upload
I've read through tons of resources and tutorials and as far as I can tell, my code is accurate, but

php global variable
how can we create global variable so we can use its value in any form.. Please give example to

AJAX form submit
I recently built a form that submits data to my database with an ajax function that is called throug

Converting numbers to months
The porgram works -just need the last function(month_convert_ to convert numbers to months -thanks.

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