DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
2d vector c++ size
vector
<
vector
<
int
>>
a
;
int
r
=
a
.
size
(
)
//gives no of rows
int
c
=
a
[
0
]
.
size
(
)
//gives no of columns
PREVIOUS
NEXT
Tagged:
#vector
#size
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit