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

double and single quotes in text fields acting up... help please
Single quotes, when entered into a text field, create an sql error upon Submit. It seems to create t

Filtering an Array Based on Value
I have a very simple script set up that pulls data from a database and is output using this code:

why isn't this PHP code working ???
it's suppose to find a name on the database.

<?php

$s = $_POST["lname&

While Problem
i am having a problem with a while statement here is the code
Code: [Select]<?php
sess

start new row of pictures
on my site www.budstreasureauctions.com there is a featured auctions box that users will pay to get

Can you help please? Php file
I have to write this php file to allow users to register their nicknames on nickserv

For an I

Email Script does not reach destination
Hey Guys look at this code snippet :
Code:
//read a line from the file

$myFile = "

PECL uploadprogress for php5.2
Hey, I just installed PHP5 via .htaccess on my 1and1 Shared Hosting Account.

How would I exac

Time-based image rotation script
I'm trying to write a PHP script that rotates an image based on what time of day it is. I want the

Mail functionality from localhost to server
Hi

I am facing problem of mail functionality.

When i tested mail functionality in my

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