This documentation is archived and is not being maintained.

Compiler Error C2224

Error Message

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