首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

请教这句话如何翻译? which is of non-class type 'main():foo*'

2012-04-09 
请问这句话怎么翻译? which is of non-class type main()::foo*error: request for member x in b,

请问这句话怎么翻译? which is of non-class type 'main()::foo*'
error: request for member 'x' in 'b', which is of non-class type 'main()::foo*'

[解决办法]
为何不把编译器和错误编号放出来,或者贴源代码,没有上下文直接翻译这句子没有意义哦
[解决办法]
请求b中的x, 但是b不是类类型.

改为:
b->x = 12;

热点排行