+ 3

Accessing elements in vectors in a vector

I know that it is possible in c++ to have a std::vector containing std::vectors but i don't know how to access the elements in those vectors. Is there a way to access them?

24th Apr 2018, 9:20 PM
MMJ
1 Respuesta
+ 3
OuterVector[indexOfInner][indexOfElement]
24th Apr 2018, 9:44 PM
Ariela
Ariela - avatar
En tendencia hoy
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes