#Problem with setting up 2D vectors

10 messages · Page 1 of 1 (latest)

shadow phoenixBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

#
How to Format Code on Discord
Markup

```cpp
int main() {}
```

Result
int main() {} ```
sly quiver
#

;compile cpp

eager boneBOT
#
Critical error:

Unable to find compiler or language for target 'cpp'.

sly quiver
#

smh

#

Well, a 2d vector can be done many ways

#

One is std::vector<std::vector<T>> whatever;

#

You can construct with a size, .resize later, or push things

#

Many ways to setup the 2d vector once you get it

shadow phoenixBOT
#

This question is being automatically marked as stale.
If your question has been answered, run !solved.
If your question is not answered feel free to bump the post or re-ask.
Take a look at !howto ask for tips on improving your question.