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

Not sure why this script is not working?
Hi I am new to php programing and I was trying to make up a simple script like a captcha but I canno

Default TimeZone
The server I'm working with is hosted in America so all times inserted into the database are coming

string to currency format
Hi guys...

Actually I chunk out some data from txtfile and one of the data contains amount va

Solution to the FindControl problem
I have seen may posts about having problems with the FindControl method. Most seem to come about bec

php calculate
this code echoes correctly the sum but the inserted result is 0??
Code: <?php
$TotalNum

Function
How can I make this function that once you click the link in the code it takes you to a new page wit

What's best way to get a user's Word doc converted to simple html and images?
Hi all,

I was just wondering if anybody has any experience of this.
Basically, I'm buildin

using file_get_contents??
okay how would i create a script using file_get_contents() in php have it grab search pages 1-20 and

Just wondering what you think about my site
I am new to phpfreaks i just seen this form and thought it would be cool to see what other thought a

form help
this doesn't work. i want the form action to go the location.href of the submit button chosen.. how

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