Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

print vector of vector c++

for (int i = 0; i < vec.size(); i++)
{
    for (int j = 0; j < vec[i].size(); j++)
    {
        cout << vec[i][j];
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #vector #vector
ADD COMMENT
Topic
Name
4+8 =