I have a struct where I put all the information about the players. That\'s my struct:
struct player{ int startingCapital; int currentCapital; int s
Your error is also shown when trying to access the sizeof() of an non-initialized extern array:
sizeof()
extern int a[]; sizeof(a); >> error: invalid application of 'sizeof' to incomplete type 'int[]'
Note that you would get an array size missing error without the extern keyword.
array size missing
extern