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

This must be easy , pulling the last record of the day, every day, from a txt
I have a txt file logging weather data every minutes (so 1 record per minute). I want to extract the

Syntax Help
I'm trying to make a form that edits a php file which contains config settings. I'm using strings t

INSERT for date range
Hi all

I have the following table

Code: [Select] `date` date
`day` int(2)
`

First root of a number
Hi,

I can't find any function in php to give me the first root of a number.
Is there any

How to generate a text file using php...?
Hi,
Can anyone give me code to generate a text file using php


Thanks in advance

ereg_replace in Wordpress
Heya - so I'm working on this site: http://world-of-smiles.theportlandco.com/new-patients

The

Basic Question about Threading and PHP...
I have a page that I am working on and it is taking several hours to process. The basics of what th

DBCA Templates
Hi all,

I'm working on creating a template for DBCA, but can't find any documentation on the

Date help - fetch dates for Mondays between xxx and yyy?
Does anyone know the best way to do this? I have two dates, say:

2010-01-26 and 2010-05-30

FROM_UNIXTIME($phpdate);
Hello,

I tried to use this :

$date = FROM_UNIXTIME($phpdate);

ANd I was t

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