Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cpp 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 #multidimensional #vector
ADD COMMENT
Topic
Name
7+6 =