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

What do you call the "token" thing?
You know how some sites have links that run on tokens? Tokens are links that only stay alive for a c

serializing objects - loses methods - the point being?
Hi

I know that serializing an object will lose the methods. But whats the point in that? What

bit of help needed
Im about to sort out my registration page for my website by customising a "registration" s

How to clone an SAP ECC using bacup tape on z/os?
We want to clone our production to a different SID using backup tape.

Production of mango in processing industry
Hi,

We have one scenario ,company is in process industry,they are manufacturing MANGO pul

Word Trimming
Hi Guys & Gals!!

Hope you are all ok....

I need some help with the following

Server side $_SESSION
how does one keep the session completely server side. no cookies to the browser at all. i need this

Multi Dimensional Array Append
Hi Guys

I have a function that returns a multidimentional array eg

$result = functio

SAP Business Suite
Hi all:

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

Files in current folder. Should be an easy fix.
Never mind. I've asked about this before and just found my answer. Anyway to delete this?

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