Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ initialize vector of vector with size

vector<vector<int>> v(10, vector<int>(10));
 
PREVIOUS NEXT
Tagged: #initialize #vector #vector #size
ADD COMMENT
Topic
Name
4+1 =