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

mysql_affected_rows() usage
Possibly a MySQL issue, but the function that is not behaving in the anticipated way is a PHP functi

Upload file!
Ok i have a form..
Code: <form name="form1" method="post" action=&quo

Save cookie to DB
I'm working on a pixel tracking script for an incentive website and I need to use an ASP script to s

records between 2 dates
Hello all,

I have a date tracked table which contains effective_start_date and effective

Calling strings from other php class
I have test1.php{
$string1;
$string2;
....
... //10 strings in this class <

DateObject and Nulls
Hi all,

I have an array mapped to a value object. One of the items in the array is a PHP Date

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

Display data returned from Ajaxservices!!
I have a question about displaying results using ajax. I have part of the code below.
$.ajax({

checkbox update
I am having a brain fart right now and i cant remember how to do this. if anyone could help that wou

How to form a xml form table with a single sql statement..?
Hi everyone,
I don't know if this is going to be a duplicate thread but i couldn't

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