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

Concatenate two strings ???
I have string one $string1 and another $string2.

How to concatenate (add) both of them $str

XML Grouping
I'm using xml_parse_into_struct to get all my elements, but now I need to group them. For example, h

max function question
Hi All
Ihave a table that holds shipment numbers and dates like this

select * from

Displaying a record from mysql in a simple swf file
Hi,

I have a mysql database containing information I would like to display in my swf.

Upload file and add HTML
Hey everyone,

I have a client has meeting agendas and minutes that should be posted online. I

with clause
hi all, i have a big query that usually access the same table more than once. for example, i have s

Typedef struct vs just struct
Anyone know the rationale for using typedef for structs when a struct is itself a typedef? I have s

Filename like the user name
I am creating a form and storing the values in file. Could anyone please tell me how to write a code

PHP form help required
Hi all! Apologies in advance for having to message the forum for help. I know you must get a lot of

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

I have a customer

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