Horje
initialise 2d vector in c++ Code Example
initialzing a 2d vector in cpp
  // Create a vector containing n row and m columns
  vector<vector<int> > vec( n , vector<int> (m, 0));  
initializing 2d vector
vector<vector<int> > vec( n , vector<int> (m, 0));
initialise 2d vector in c++
// Initializing 2D vector "vect" with 
// values 
vector<vector<int> > vect{ { 1, 2, 3 }, 
                           { 4, 5, 6 }, 
                           { 7, 8, 9 } }; 




Cpp

Related
initialising 2d vector Code Example initialising 2d vector Code Example
How to create an ArrayList Code Example How to create an ArrayList Code Example
system("pause") note working c++ Code Example system("pause") note working c++ Code Example
Integer Moves codeforces solution Code Example Integer Moves codeforces solution Code Example
three way comparison operator c++ Code Example three way comparison operator c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10