|
by: john smith |
last post by:
Hi, when there is a vector<> of pointers to some objects, does calling
resize cause vector to call delete on each object, or is there a memory leak
problem?
for example:
struct base {//some...
|
by: Neil |
last post by:
Hello,
Is there a standard or recommended way of handling deletion and removal
of objects in STL. I have loads of list of classes by pointer.
e.g.
If I have a list<int*>, how should I delete...
|
by: Jacare |
last post by:
Very simply, I need to delete any row who's column "Name" had under 24
characters in it (including a space).
Any hints?
|
by: Jon Pope |
last post by:
I've got a menu button which gets fired everytime the user clicks the
<Delete> key. Depending on what is currently selected on the screen, the
delete action performs different types of deletions. ...
|
by: Piotr |
last post by:
I have a class 'Statistics' which has a private attribute
' vector<int>* _x;'
And in the destructor of the Statistics, I have this code to free the
memory:
Statistics::~Statistics()
{
if...
|
|
by: Steve Edwards |
last post by:
Hi,
After making an iterator to a map and stepping through a loop, I want to
delete any entries that satisfy a test from an external function.
MyMapType::const_iterator iter;
for(iter =...
|
by: Alex Vinokur |
last post by:
Should 'delete below (after casting to void*)' work fine?
------------------------------------------
char* p1 = new (nothrow) char;
if (p1 == 0) return;
void* p2 = reinterpret_cast<void*> (p1);...
|
by: mkaushik |
last post by:
Hi everyone,
Im just starting out with C++, and am curious to know how "delete
<pointer>", knows about the number of memory locations to free.
I read somewhere that delete frees up space...
|
by: Sailor1877 via AccessMonster.com |
last post by:
I've been reading all the threads about problems with LDB files but my
specific problem doesn't seem to be addressed. I have a back end database on
a server that I'm unable to run Compact and...
|
by: cc |
last post by:
Currently running Sql Server 2005
Is it possible to issue the delete command and capture the affected rows as
xml types that will be stored in an audit table with an xml column?
Something...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|