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

PHP and Javascript
Hello Everyone,

I have a page that needs a javascript code to be written between PHP code but

php call servlet
I have done a php backup application .
So there is a form that user pick some files to zip and d

Data Function is Its Not working IN IE8
This is my first time to use formums. I hope i can get solution for this problem. view plaincopy to

need help with mail()
hi i want to send an email with attaching pdf file using php. i have the following script but the pr

Motivational Posters
Hello,

I wonder how can i do them in php. Are there any sample codes that you can show me?

How to display random record from table?
I have the following code:

Code: <?php
$display_block .= "<input type=

Get Total From While Loop
I'm trying to get the total for each product and add them for a Grand Total to list outside the loop

Table Control
Hi Guru's,

I've created a Module pool program, which contains the Table Control.

Check before inserting in DB ???
This is my code
---------------
if ( $_POST ['Submit'])
{{
$username = $_POST ['usernm

Php navigation
I have four buttons on a php page.
If i click a button it will redirect to different php pages.

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