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

values in array being escaped
I would like to submit some values - back to the same form for checking before processing...

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

Onclick problem in Firefox
Hi,
I am using a . It doesn't seem to

Sql and php order list script problems
Hi im having a few problems with trying to get the coding right on a orders list ive done (or trying

Passing JS to PHP
So I have the following
Code: <?php
getdetails(?><script type="text/

Optimize Code
Just started getting into the use of cookies. The following code will redirect users to a set URL s

Populate drop down list from table??
Lets say for arguments sake that i have a table which contains the numbers 1 to 10.
How can i get

PHP loop
Okay so I have several "articles" stored in a mysql database and am attempting to echo tho

Floating Point Precision Loss
I'm writing a program to draw a three-dimensional cube (with a corner cut off) without using any 3D

need help about
i store the value of my select statement result to an array and stored it to a variable named $fname

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