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

Date help - fetch dates for Mondays between xxx and yyy?
Does anyone know the best way to do this? I have two dates, say:

2010-01-26 and 2010-05-30

Notice Undefined index: reset/ Attempting to redirect, works, but get a notice
Full Header.php is:
Code: [Select]<?php
$reset= false;
$reset= strip_tags($_GET[&quo

upload image name with extension using php
hi frds..

<input id="file1" type="file" name="file[]" &a

url- go to webpage
i have an input text field and submit button.

how do i make the url entered into the textfiel

empty() error
Why does

Code: empty($USER_ID = $_SESSION["USER_ID"])
create this error...

upload photo limits
ive got a upload photo script and im just trying to make more secure currently it limits size and as

do while...woes
I'm sure this is childsplay but it is stumping me, everytime i try what I think would make this work

User input in to variable
Hi all,

I'm sure this is very easy but I'm having another brain freeze!

At the end of

SAP Project Module
I have seen in the SAP Project Module,plan cost and budget are not equal and even difference is sign

DELETE FROM not working deletes wrong row
Hello

I have the following code which i found but it doesnt work properly.. it comes up with

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