B
Buster
Rolf said:[...] Sure, you could also do:
int& k = *new int[100];
(&k)[5] = 34;
delete &k;
delete [] & k;
but it's not very useful or intuitive.
Agreed.
Rolf said:[...] Sure, you could also do:
int& k = *new int[100];
(&k)[5] = 34;
delete &k;
but it's not very useful or intuitive.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.