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

b+ tree
Hi
can every body help me about b+ tree ?(insert & delete)

Two warning messages
Quote<b>Warning</b>: mysql_real_escape_string() expects parameter 1 to

Access website from only 1 computer...?
One of my customers wants his website to only be accessed by people in which they bought the website

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

Change Age automatically
hi guys . im new to php , is it possible to change age value in mysql automatically when year change

Please Help my PHP Dating Function.
Hi everyone!

Well here is my code that displays this:

It works wonderful.


Move array index to end
Hey guys,
Quick question:

I have an array that looks like this:
Code: [Select]$var =

Adding to an Int row in db
Hi, i have a database which houses all of the users of my site. One of the columns is for points whi

defining website tags
Hi,

What would be the best way to define tags for my site, such as website title, url etc.

Batch Related Pricing
Hi, I need some clarity on the batch related pricing

For example the following are the b

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