| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 613 人关注过本帖
标题:请教一个compile纠错:subscript requires array or pointer type ...
只看楼主 加入收藏
morrlli
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2010-2-24
结帖率:0
收藏
 问题点数:0 回复次数:1 
请教一个compile纠错:subscript requires array or pointer type. 是怎么回事? 新手寻帮助~~
accuracy_online[count_online]   =   sqrt   (   pow   (lat   -   lat_array[location_index_count],2)   +   pow   (lon   -   lon_array[location_index_count],2));
想求一下   这个计算的答案,为什么纠错给出
subscript   requires   array   or   pointer   type.?

"pow ":too   few   arguments   for   call   through   pointer-to-function

请高手指教啊~~!
搜索更多相关主题的帖子: requires compile pointer array subscript 
2010-10-13 20:45
morrlli
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2010-2-24
收藏
得分:0 
多项式分解,解决。
可以结贴了。
2010-10-13 21:18
快速回复:请教一个compile纠错:subscript requires array or pointer ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.011340 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved