> 其他 >
但是定义了之后又有提示warning C4700:local variable 'count' used without having been initialized
人气:355 ℃ 时间:2020-02-03 11:23:20
解答
变量count在使用前未被初始化,比如:
int count;// count没有赋值,但后面就打印它.应该先给count赋值,可以写成count = 0;
printf("%d", count);
推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版