Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

new c++

//This is how you use new in c++
int * v = new int[5] //5 elements of type int
// [pointer] = new [type] [size]
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
6+1 =