DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
how to initialize a vector of pairs in c++
#include <utility> vector<pair<int, int>> myVec (N, std::make_pair(-1, -1));
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#initialize
#vector
#pairs
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit