Technical Support
On-Line Manuals
µVision User's Guide
C51, C251, C166 Development Tools
*** Error E052 Left Side Of '.' Requires Struct/Union
Left Side Of '.' Requires Struct/Union
The left side of a member-selection expression must be a structure or union type.
The object you are trying to access is not recognized as a structure. It also happens, when an array of structures is indexed incorrectly.
... typedef struct { int iTotal; char names; } testStruct; testStruct testIt[4]; testStruct asignIt; //incorrect example testIt.iTotal[1] = asignIt.iTotal; //correct example testIt[1].iTotal = asignIt.iTotal; ...
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.