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

Is there a more efficient way to code this than what I have?
I have three associative arrays.

$combinedSettings
$userSettings
$defaultSettings

Upload simple problem
Really confused!! I run once and it worked, but when i tried today...it didn't work

Which par

CODE NOT WORKING
Code: [Select]<?php
//include shared codes

include '../lib/common.php';
include

Displaying Site Logo/Icon on a Title tag
really need some help out here. I want to insert a Logo/Icon just like the one close to the "PH

pop3 and fsockopen
So I am able to connect to the pop3 server, log in, and check how many messages there are. I am hav

captcha error
I have been trying to implement a captcha in php...

here is the code..
Code: (php) [Select

Using insert variable
need a way to inert variable data to mysql database

$acc = "212121212";
$nok =

Need help in Generating Combinations
Need help generating all possible combination of names in an array

Lets say i have the follow

PHP FTP Can't upload Big FIles
Anyone had any success using FTP to upload a file say 90m?

im using ftp_put and it returns fa

Echo multiple lines of html code
Hi guys,

I would like to know if there is a way to echo multiple lines of html codes.

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