Compiler Error C2224
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

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

© 2016 Microsoft