How can I resize a 2D vector of int? initially i have declared vector<vector<i nt> > value;
I saw that
should be used, but I can't seem to understand how it works. I want to initialize the added elements initialed to some integer value, say 1. how can I do that?
Thanks for the help.
I saw that
Code:
void resize(n, t = T())
Thanks for the help.
Comment