Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

vector of vectors c++

vector<vector<int>> matrix(x, vector<int>(y));

This creates x vectors of size y, filled with 0's.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #vector #vectors
ADD COMMENT
Topic
Name
2+6 =