syntax for initializing an array in a class
I have been studying the DirectX tutorials trying to learn graphics programming and struck out on my own trying to create a tetris clone to learn from. I would like to build the shapes using classes unlike the M$ way of using everything global in the tutorials. What is the proper way of initializing an array of structs in a class? The compiler keeps giving me a syntax error of missing a semi-colon. Right now I have a decent workable engine for my game, but it just doesn't feel right using all these globals.