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

Database/Table Collation
What is the Database, and table collations used for? i don't understand what there used for since co

Google Wave
So... has anyone used it yet? Is it any good?

http://wave.google.com/help/wave/about.html#vid

FPDF Help
I've been playing with the FPDF module. I was building a form and rolling right along and then sudde

$_FILES array
Ok,

I just started experimenting with PHP today. My goal right now is to have people be able

Get keys and values from an array
Hellow,

I have an array $Data with keys and values. With a foreach I can display all the valu

Help with looping
I have a comma separated list of colors taken from a database ($ICo) and a directory of images named

Schedule editor
Hi,

I have a question related to Schedule editor.
If we schedule a BLS for every 30

Agency Business Process
Hi,

I don’t understand the process of the agency business in SAP.

In my

have trouble in a if condition
The if below is working ok, it check when indexes, name, zipcode and state are empty.
Code: &

TinyMCE / Ajax Postback Problem
Hiya all,

I have a page which loads the TinyMCE editor. On the postback I obviously want to f

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