Original Post
I''ve been trying to get a 2 dimensional vector of integers in an array-type format but am not sure how to do this.
I know you can do things like:
int *words;
words = new int[5];
However, you cannot do
words = new int[4][4];
because it bombs out.
I''ve decided to go with vectors for this because I need something I can resize easily. Does anyone know how to create a 2-d vector period? Doesnt even have to be with pointers.
If anyone could help me out I''d be greatly appreciative!!!
Thanks,
Skkra