by: alan |
last post by:
Hi all,
I have a problem on release memory.
If I delcare the following pointer to pointer char, how can I free the
allocated memory ?
let say "myVar = 20" <---actually it is not a constant,...
|
by: Mullin Yu |
last post by:
I write a Windows Application which uses db connections and some COM dll.
After running consecutively for 12 hours, the memory of the application
increased from 30MB to 130MB.
How can I trace...
|
by: smartbeginner |
last post by:
main()
{
int i;
int *a;
a=calloc(4,sizeof(*a));
/* The above code I know will not compile .But why
cant I allocate space
for all 4 integers i need to store */
for(i=0;i<2;i++)...
|
by: prashant_sharma |
last post by:
Hi,
Following code is creating assertion
Please help me to release memory occupied by Char array..
char *nm = new char;
strcpy(nm,"Prashant");
delete nm;
Thanks in Advance
|
by: laikon |
last post by:
Hi, everyone, below is my program to test static pointer data member;
class A
{
private:
static A* p;
protected:
A() {}
public:
static A* init()
|
by: eflatunn |
last post by:
Hi all,
my problem is that the application doesn't terminate when I close the form using the close box on the caption bar. Actually it seems as if the program is closed but task manager's process...
|
by: mina |
last post by:
hi
i am using vb.net 2005 to my desktop application.
my problem is like this
when i am running my project it occupies 100% cpu at 1st form load.
then again it release memory upto 95%.
when i am...
|
by: mynews |
last post by:
I use free() function to release memory,
But the memory usage is still increasing.
cygwin
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct queue{
|
by: Samant.Trupti |
last post by:
HI,
I want to dynamically allocate array variable of type LPWSTR.
Code looks like this...
main() {
LPWSTR *wstr;
int count = Foo (wstr);
for (int i = 0; i < count; i++)
//print each...
|
by: Trups |
last post by:
HI,
I want to dynamically allocate array variable of type LPWSTR.
Code looks like this...
main() {
LPWSTR *wstr;
int count = Foo (wstr);
for (int i = 0; i < count; i++)
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|