Erm...If this isn't how you declare an array, then I'm lost
Code:
#include <SDL.h>
#include "Sprites.h"
#include "Images.h"
Sprite::Sprite(SDL_Surface *img, int dimenX, int dimenY)
{
Sprite::framesF[4][2] = { { dimenX, dimenY }, { dimenX, dimenY }, { dimenX, dimenY }, { dimenX, dimenY } }; //at the first curly bracket, it's saying an expression was expected
}
So, I'm completely lost as to how to declare this array. Everything is already setup in the Sprites.h header, so framesF, the constructor, and class are initialized correctly. I'm just not sure why this won't take my declaration.