Published
- 1 min read
2d vector print
The solution for this is noted below
2d vector print
Solution
for(auto lst : vec){
for(auto e : lst){
cout<<e<<" ";
}
cout<<endl;
}
Try other methods by searching on the site. That is if this doesn’t work