Ok I am having problems with this code:
barS in this is just a .bmp converted to .c for Mirkos SDK.
If I do this:
I get invalid use of flexible array member. Anyone able to help me .
Code:
typedef struct
{
u16 x;
u16 y;
unsigned char sprite[];
}Sprites;
Sprites image[19];
image[1].sprite[]=barS[];
barS in this is just a .bmp converted to .c for Mirkos SDK.
If I do this:
Code:
typedef struct
{
u16 x;
u16 y;
unsigned char sprite[];
}Sprites;
Sprites image[19];
image[1].sprite=barS;
I get invalid use of flexible array member. Anyone able to help me .