F
Franklin Li
Hi All,
I find one example codes as below:
int send()
{
char msg[3000];
...
delete [] msg;
..
}
For my understanding, there should be no delete. But the codes are still
work. ( I use CC 6.1a).
Who can tell me the reason and if the codes are dangous for memory link?
Thanks.
Franklin
I find one example codes as below:
int send()
{
char msg[3000];
...
delete [] msg;
..
}
For my understanding, there should be no delete. But the codes are still
work. ( I use CC 6.1a).
Who can tell me the reason and if the codes are dangous for memory link?
Thanks.
Franklin