+ 3
For using vector in cpp, firstly you have to include vector library which includes necessary functions like push_back() etc. You can do this by #include<vector> And you can define 2D vector by Vector<Vector<int>> temp; You can find other details on following link: http://www.cplusplus.com/forum/beginner/236646/
28th Feb 2020, 7:02 AM
Vijay Meena