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

Coefficient of a Restitution Hints
Hello. I was wondering if anyone can give me hints on how to write this program...

The coeffi

php wont update my db
hello,

sorry for posting in mysql forum but i dont know where exactly is the problem but here

a function to check directory depth
I'm working on a php script to upload files in to a set directory.
the user can select to upload

Help with echo()
I'm having some problems with this code:

Code: echo '
<A HREF="jav

NOOB needs help with upload file
The intent of this form is to create a folder for a client and upload an image into another folder '

Problem!
I have another problem, when i run this code i get this error "Parse error: syntax error, unexp

Calling All PHPFREAKS Blackberry Users
Are you a member of PHPFreaks and have a blackberry? Well RIM just recently released Blackberry Mes

Downloading file (Headers)
I'm trying to make users download a file, but they must wait 60 seconds before it begins.

But

Time-based image rotation script
I'm trying to write a PHP script that rotates an image based on what time of day it is. I want the

Best way to read this text file.
Hi.I am planning to make a small application in C# to convert the players from Football manager 2010

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