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

help countdown timers
hello every one,

I'd like to know how to insert many countdowns in the same page.
The dura

do while conditions
i want to display 6 images in a 2x3 table
now what would be the correct logic to
count that th

Track downloads' status
Hello,

I need to make somehow, some system, to track whether downloads are completed or faile

Need Help with a query
Hello,
For some reason I am just not getting the right answer when I do this query and not quite

Number Format
Hi All,

I have number '000000000050085' I want to format it to 500.85 Can any one give me

PHP File Upload Problem
Hi, I have written a very simple file upload script but it fails for reasons I can't explain. Hope

Open browser page depending on XML results
Hello,

I have some PHP code that sends webbased from data to an external url ( in the form of

Two fgetcsv related questions ;D
First of im trying to get a file from a merchants server but the directory is protected, I know the

URL Rewrite issue
Im created a series of Rewrites and on page checks to make sure the correct url is being called. But

Sort Alternative/bi-monthly
Hi all,

Am going mad trying to get something to work.

I'm creating a CMS for a magazi

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