warning C4700:local variable 'L' used without having been initialized

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 11:42:03
warningC4700:localvariable''L''usedwithouthavingbeeninitializedwarningC4700:localvariable''L''usedwithou

warning C4700:local variable 'L' used without having been initialized
warning C4700:local variable 'L' used without having been initialized

warning C4700:local variable 'L' used without having been initialized
这个警告是指你变量未初始化就拿来用,解决办法就是将变量初始化一下.
例如,你可能是这样写int L;
改成int L=0;不就初始化了.