J
Jeremy Cowles
I have the following:
int *array = new int[5];
and I destroy it with:
delete [ ] array;
So my questions is, what happens when you destory the array like this:
delete array;
?
Furthermore, I understand that References are like a pointer, but are
somewhat safer (and less flexable). So what is a "weak" reference?
TIA,
Jeremy
int *array = new int[5];
and I destroy it with:
delete [ ] array;
So my questions is, what happens when you destory the array like this:
delete array;
?
Furthermore, I understand that References are like a pointer, but are
somewhat safer (and less flexable). So what is a "weak" reference?
TIA,
Jeremy