The document is archived and information here might be outdated
Compiler Error C2224
Visual Studio 2008
left of '.identifier' must have struct/union type
The operand to the left of the period (.) is not a class, structure, or union.
This error can be caused by a left operand that is an undefined variable (therefore type int).