DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
initialzing a 2d vector in cpp
// Create a vector containing n row and m columns
vector
<
vector
<
int
>
>
vec
(
n
,
vector
<
int
>
(
m
,
0
)
)
;
PREVIOUS
NEXT
Tagged:
#initialzing
#vector
#cpp
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit