Quantcast
Channel: c++ vector with object pointers - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Luchian Grigore for c++ vector with object pointers

$
0
0

Why declare the maze as Field***?

The C++ alternative is std::vector<std::vector<Field*> > maze;, and that's what you should use.


Viewing all articles
Browse latest Browse all 3


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