Compiler Error C2224
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at 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).
Show: