by: qazmlp |
last post by:
Is there a memory leak here? Can't the memory deallocation happen
automatically as the std::string object anyway is owning the memory?
#include <cstring>
#include <string>
#include <iostream>
...
|
by: Andy Chang |
last post by:
Hi,
If I have
typedef struct {
std::vector <float> vSomeVal;
int i;
} VEC_T;
Then is VEC_T * ptr a valid pointer to the struct accessing the vector?
Also do I need to explicitly...
|
by: Dave |
last post by:
Hello all,
In the program below, why am I not seeing operator delete being invoked? If
a constructor throws, isn't allocated memory supposed to be released and
then the exception re-propagated?...
|
by: xixi |
last post by:
hi,
we are using db2 udb v8.1 on win 64 bit with fp3 with type 4
db2jcc.jar driver.
i have this problem happened sometimes when try to execute a query and
failed.
...
|
by: Alf P. Steinbach |
last post by:
<what to design a C++ solution for>
A Windows API /resource/ is data embedded in the executable, accessed
via API functions. A resource is completely identified by the quadruple
(id, type,...
|
by: madhu |
last post by:
vector<vector<vector<long Vector3D; // 3dvector.
for (long k = 0; j < Depth; j++ )
{
Vector3D.push_back ( vector<vector<A_Type() );
for (long j = 0; j < Height; j++ )
{
Vector3D.push_back (...
|
by: gigigigi |
last post by:
In reference to a Standard Template Library map container, when erase is used, does automatic memory deallocation occur on a single entry?
|
by: divyabarathii |
last post by:
hi
i declared a structure as shown below
Struct Name
{
int *nPtr;
float *fPtr;
}
In MFC, one command button click event, i added the following code and CDocClass has the structure as...
|
by: Kumar McMillan |
last post by:
I get this warning from my test suite when I introduced a segment of code:
python(18603,0xa000d000) malloc: *** Deallocation of a pointer not
malloced: 0x310caa3; This could be a double free(),...
|
by: welch.ryan |
last post by:
Hi all,
Having a problem with addressing large amounts of memory. I have a
simple piece of code here that is meant to allocate a large piece of
memory on a ppc64 machine. The code is:
/*...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
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...
|