What do you want to save?
Add Code snippet
New code examples
-
C++ 2022-03-06 18:00:01
initialize vector of vector c++
#include <iostream> #include <vector> #define M 3 #define N 4 int main() { // specify default value to fill the vector elements int default_value = 1; // first initialize a vector of ints with given default value std::vec... Add solution
Best helpers
TheShade
+5
Auntkym
+5
Mostafa 36a2
+5
Rodrigorgs
+5
Arnav Bose
+5
Waldrumpus
+5
Piquet
+5
Holyeyeolo
+5
Babak
+5
Jeff Sours
+5
Jim Mourgos
+5
J. Marks
+5