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

Need help to identify this error please
:confused:Can anyone help me tell what this error message means? Maybe tell me where to look to fix

Looping Problem
I've got a client that has a database with about 200 events at any given time. I'm trying to loop t

Find occurences of unicode characters in string
I need to prohibit filenames with everything but English characters and numbers but regexp and strin

getting weird error..
okay, I'm getting an error on this particular function, something about the syntax in the mysql LIMI

Parse Error with doctype
I'm getting a parse error with this simple code. I don't get it. It worked one time then when I relo

Custom Container in module pool program
Hello everyone,

I have created a custom control in my module pool screen. Now I want to s

Return X values where an ID number doesnt matter
Well as for subject heading, thats the best i could think of.

Currently im having a problem w

Google Map
I have done Google Map Integration for one my project. But for that we need the "latitude and l

Socket Server
In my following socket server, I am trying to listen to a connection through port 12345 in my web br

import table with dependency
Hi

What is the best way to import table back which has dependency?

SQL> cre

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