Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cpp create multidimensional vector

vector<vector<int>> matrix(3, vector<int>(3));
// creates a 3x3 matrix of integers with vectors inside a main vector
 
PREVIOUS NEXT
Tagged: #cpp #create #multidimensional #vector
ADD COMMENT
Topic
Name
4+4 =