Changes

Jump to: navigation, search

OOP344 ljubomir notes

2 bytes removed, 17:23, 31 October 2009
Week 6 - Oct 11
#a pointer for the data type that will occupy the memory whose address you will point to
*int* p;
#if the pointer is already pointing at another already allocated memory, deallocate it
#allocate memory and set the pointer to its address
#use the memory
#when you are done, deallocate it
*delete[] p;
=Discussion=
1
edit

Navigation menu