阅读背景:

C ++:从指针到类访问成员结构的语法

来源:互联网 

I'm trying to access a member structs variables, but I can't seem to get the syntax right. The two compile errors pr. access are: error C2274: 'function-style cast' : illegal as right side of '.' operator error C2228: left of '.otherdata' must have class/struct/union I have tried various changes, but none successful.I'm trying to access a member structs variables




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: