但是定义了之后又有提示warning C4700:local variable 'count' used without

问题描述:

但是定义了之后又有提示warning C4700:local variable 'count' used without having been initialized
1个回答 分类:综合 2014-10-11

问题解答:

我来补答
变量count在使用前未被初始化,比如:
int count; // count没有赋值,但后面就打印它.应该先给count赋值,可以写成count = 0;
printf("%d", count);
 
 
展开全文阅读
剩余:2000