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

Loops and Classes
I am making a template system and everything seems to be going well up until I have to loop in a var

switch not getting value
what am i doing wrong?
i want to populate the country list according to the category
i want to

Transform value 0 in no and 1 in yes help needed
Hello,
I have this in the table: "value" type int 0 to represent false and 1 to represe

Most basic form question ever?
Hello,

I want to use this snippet to make sure the fields in a form are ok before processing

Multidimensional $_POST
Hello

How to get a single array from array of array (2 - dimension).
For example I have a

Not adding to db
Hi, I can't figure out why it won't add the record to the database. It's just a simple form to get

Help to integrate whois Domain Details to website
Hi,

can i know is their any php script r methods to add domain details to my website.

Error when call dll from oracle
Hi all, please help me!

I have dll write C language, I want call it from oracle procedur

Add_Months not Easy to Understand
Oracle is number 1, very fast and very easy. But....
OK, I think but have a problem, only 1 pro

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

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