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

Wierd echo error?
Hi, i got the most wierd php error ever and i don't know why..
Code: echo "<t

selectbox+database connection retrive problem
Code: [Select]
<tr>
<th align="left" scope="c

Pipe email to PHP - get mail adress from MySQL - send?
Hi all,

this is the challenge:

1) Our faculty at the college where I'm employed includ

What's wrong with my code
sobbing for many days, still don't know why please Help. Why my page isn't posted correctly. In a

Select Lists into MYSQL
Hello All, I am new to PHP @ 1 week. So borrowing code anywhere I can. I am making progress, but h

if else problem, help please
i have this script that i made only i try to also put in a if else for for some reason the script is

PHP friend keyword equivalent
is there a PHP equivalent for the C++ friend keyword?

Check premium expire
Hi,

I am making a simple file hosting site and want to check if users premium subscriptions h

Else statement screws up all css
Does anyone know what goes wrong in the process with this php code?
This code seems to be causing

Error with Font and imagettfbbox
I keep getting an error that says "Warning: imagettfbbox() [function.imagettfbbox]: Could not f

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