Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cpp malloc

int alloc_size = 10;
int* buffer = (int*) malloc (alloc_size);
//Allocate memory block which can fit 10 integers 
Source by www.cplusplus.com #
 
PREVIOUS NEXT
Tagged: #cpp #malloc
ADD COMMENT
Topic
Name
6+3 =