Edit

Share via


Compiler Error C2224

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).