1
edit
Changes
→Dynamic Memory allocation
==== Dynamic Memory allocation ====
To do Dynamic Memory Allocation you need:
# Pointer of the type of the memory we are alocating allocating. Ex: 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.Ex: delete [] p;
===To Do===