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

Help with simple query
Hi,

I'm trying to do a Query with a Union where I want to print the number of rows $tc conta

php call servlet
I have done a php backup application .
So there is a form that user pick some files to zip and d

PHP and MySQL on intranet?
Is it possible to use both these on an intranet network?

UTL File problem
Hi
I have a file in certain path with the following permissions (The file is a dummy file witho

preg_match logical error
Code: <?php
$s = file_get_contents("page.html");
preg_match('/<div cla

Database 'Validation'
Hi everyone,
I'm trying to validate the password entered by the user with the password in the dat

Accessing element of object array
Hello

My object looks like this:


Array ( [0] => User Object ( [id] =>

Change log of Cost centre change in Plant maintenance order
Hi,
How to view Change log of Cost centre in Plant maintenance order. Not visible thru 'Docume

I face problems to extract data from one table and insert it in another one
Hi,

For modifications, I have to extract data from one table and insert it in another one

Running External Scripts
I am very new to PHP and am not even sure what I'm asking is possible. I have just installed mediaW

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