Compiler Error C2233
'identifier' : arrays of objects containing zero-size arrays are illegal
Each object in an array must contain at least one element.
The following sample generates C2233:
// C2233.cpp
// compile with: /c
class A {
char somearray[1];
};
class B {
char zeroarray[];
};
A array[100]; // OK
B array2[100]; // C2233
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for