I need help with a simple c structure and can't find it, why it doesn't compile with gcc (opensuse 11.4)
I have this code:
struct Image { int w; int h;
in the same file, I have another structure array similar to this:
struct ShapeImage { Image image[10];
when compiling, I get:
syntax error before [' token`
Why am I getting this error if I specify the number 10 in the image image[10]; Looks good to me, what's wrong?
source share