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

How do I use a global footer..?
If my index.php has a bole bunch of if functions and exit's in them

how to make database item unique
Hey guys,

is it possible to do this:

I have the database item $title being pulled for

update sql when refresh - php
hi
I have made a table (attachement)

the users can update the sql database using + or x bu

Question about GD library
I am trying to make an image that shows a random quote from my database.


However I want t

php form help
Hey,

I use a control file to set my meta tags and titles

Here's an example
Code: &a

SAP Business Suite
Hi all:

Within the SAP Business Suite solution I would like to ask you the main differenc

Connecion issue
Hi,

For some reason, I keep getting this error when trying to connect:

Warning: mysql_

Confused with Loop
guys, i got confused with Looping...this is the case

I have 3 stocks, let say "Stock A&q

session variables not working anymore
hello,
i use sessions to handle authentication within my site. my host has been changing a lot of

need help with this contact form
I made this form and I need it to read the data and write the data to a table and its not working ca

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