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

problem with GROUP BY and ORDER BY
i usually use this query to display the last 10 entries from a sql table:

Code: $query = &quo

Help with forum quoting?
Hi im working on a forum and I have alomost finished it but i want a user quote system like twitter

Dynamic links in an include file
I am working on a small piece of code that counts records from a database and displays the result to

php mailer
How can i send a mail to large no, say 50,000 reciepients using [color=#0000FF]php mailer[/color]

How can you detect variable string in a massive string?
Ok guys, i need some help with this one.

I am going to be getting a large string, like 10-20

Web Application Recipe
Hi Guys!

I am working with the Web Application recipes. I am currently working on the sen

split string
Hi all

i have some names (imploded by comma):
Code: toronto,paris,madrid
Now, i would

background color imagefill
Hello

I would like to ask you why I see this square in red color just in my local xampp insta

pagination numbering pattern
Hello,

I have following code which works great for pagination. but i have small issue now.

Sendmail.php - heading error following check_input
Hi,

I would greatly appreciate some help? I am brand new to PHP and have been searching and e

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