How do I make this work? I tried this, but no bueno. Basically, as it is, it says "for" needs a declaration, meaning there's something going on with the initialization part. I already know how to set one up. I just need to get past this part. However, if anyone can give me an alternative to making a list (or sequence container) of multidimensional arrays, that will be great, too.
#include <list>
#include <vector>
using namespace std;
class MainTetris
{
/*
Creating a list of multidimensional vectors to represent each tetris piece.
Don't plan on dynamically growing them in the game. It's only because
STL list doesn't hold arrays.
*/
list<vector< vector<int> > > pieces;
}