Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ 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: #multidimensional #vector
ADD COMMENT
Topic
Name
4+7 =