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

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

url- go to webpage
i have an input text field and submit button.

how do i make the url entered into the textfiel

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

PEAR in appliactiond development
When I was picking up PHP I went from procedural programming, fairly quickly into OOP, then after wr

help with image text
Hi ...

see i need the text of the name and number to start in the center and always be in the

A href problem under php
Hello...

I tried to explain the issue in an earlier post.. but was not clear enough....

Problem with array max size.
Hi to everyone,
I've got a homework about filling a bidimensional array un spiral shape, I alre

Redirecting Admin
In my members table, I have a field called "perm" and it's set to zero for all members. Ho

Dynamically allocating the number of rows in a table based on a variable value
Hi,
I have situation here which i cannot resolve, I have a variable temp which stores the num

Cron Job and Output
I have php codes running under a cron job.
But everytime i output (echo) , it comes out as comple

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