您的位置:首页 > 产品设计 > UI/UE

error: request for member ‘***’ in ‘***’, which is of non-class type ‘***’

2011-06-17 17:06 573 查看
statistics.cpp: In function ‘int main(int, char**)’:
statistics.cpp:351: error: request for member ‘iCount’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
statistics.cpp:352: error: request for member ‘bsc’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
statistics.cpp:379: error: request for member ‘bsc’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
statistics.cpp:379: error: request for member ‘iCount’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’
statistics.cpp:379: error: request for member ‘iCount’ in ‘pBsc’, which is of non-class type ‘BscCountTdr*’

今天晕晕的,写了几行代码,就编译出错了,检查了一阵,才发现犯了底级错误,唉!

主要是将"->"写成了".",悲剧啊
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐