Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ array on heap

//Create array of integers on heap
#define SIZE 262144
int *myArray[SIZE] = new int[SIZE];

delete [] myArray;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #array #heap
ADD COMMENT
Topic
Name
9+3 =