错误
strncpy.c:7:5: error: array subscript is not an integer
abc[index]='a'; 、、、 这里index 一开始就没有定义。
但是报的错误,却是数组下标不对,不是一个整型变量。不应该报 index 未定义吗?
最后
以上就是愤怒帅哥最近收集整理的关于C:编译错误:error: array subscript is not an integer错误的全部内容,更多相关C:编译错误:error:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复