first of all I'm sorry if it is a duplicate I have not found what I need.
The question is how can I initialize vectors in 2D with empty values.
For my purpose I write:
vector<vector<int>> Example={{},{},{}};
So I can write for example:
for(int i=0;i< Example.size();i++)
Example[i].push_back(i);
Now how can I write this thing:
vector<vector<int>> Example={{},{},{}};
in a smart (and more correct) way?