'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

在C++中使用scanf时应注意两点

1.导入#include <cstdio>

2.将scanf改成scanf_s

 

 

VS2022实现查找替换

编辑——》查找和替换——》在文件中替换

 输入要查找替换的名称

 点击全部替换

完成

posted @ 2024-06-03 10:02  椰子灰  阅读(78)  评论(0)    收藏  举报