cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Best way to pass arrays for maps of diff
Best way to pass arrays for maps of different sizes?
May 3, 2015 at 8:47pm UTC
kong288
(245)
I want to each "level" like Pokemon; each "room" has a different size/shape as another. I'm not sure a 2-d array would be best for this because you can't pass it without having a defined size. is there anything better i can use?
May 3, 2015 at 9:08pm UTC
Gamer2015
(810)
I have no idea what your question is but the answer for dynamic array is definitely std::vector
Last edited on
May 3, 2015 at 9:09pm UTC
Topic archived. No new replies allowed.