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

Data type mismatch
Hi,
I am migrating data from algol to c.I mapped real datatype in algol to double datatype in

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

Working with popups and such in a class
I've recently started building my applications completely enclosed in classes. I like the fact that

How do i do multi uploads?.
Hey i would like to do this : http://hosting.mrkrabz.net/

I've got the base down you can uplo

How do i use vars in an array
Hiya peeps!

How do I use a var in an array. You will see $id but it isnt working.


Check premium expire
Hi,

I am making a simple file hosting site and want to check if users premium subscriptions h

word wrap in emails help needed
Hello, I understand how wordwrap works in php and have used it well before. However when I used wor

Logic question
im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

Embedding flash object in Else statement
This is my first major project in PHP and I'm having some trouble embedding a flash object in an Els

Just wondering what you think about my site
I am new to phpfreaks i just seen this form and thought it would be cool to see what other thought a

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