#include <stdio.h>
int main(){
int c;
scanf("%d",&c);
printf("%d",c);
return 0;
}
编译的时候给我关于scanf函数的警告,说是不安全.大家帮忙看看,具体如下:
warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead.
...全文
13211打赏收藏
今天我的编译器出了毛病.
//我治不好. #include int main(){ int c; scanf("%d",&c); printf("%d",c); return 0; } 编译的时候给我关于scanf函数的警告,说是不安全.大家帮忙看看,具体如下: warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead.