Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Seeking information on multidimensional vectors

$
0
0
I am trying to learn about vector<vector<int>> some_name and im not finding much information about accessing the elements. I got some decently obscure information pointing towards using commands as such as a multidimensional array but theres no bounds checking from what I can see and that kinda worries me, I would rather use the built in commands (push_back and so fourth) but I simply cant find any straight forward information on how to run a command (such as push_back) on one of the "sub-vectors" if I could use that term.

I know im asking a lot of questions here, and thank you for everyone who is helping. This forum is doing much for my adventures in c++. hopefully some day I can return the favor and answer someone elses question!

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>