C4996 ‘scanf‘: This function or variable may be unsafe.
在使用visual studio2019运行C语言代码时出现:严重性代码说明项目文件行禁止显示状态 错误c4996’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.scanf改成scanf_s。
原创
2023-07-16 11:54:20 ·
113 阅读 ·
0 评论