当前位置:网站首页>VS Studio 修改C語言scanf等報錯
VS Studio 修改C語言scanf等報錯
2022-04-23 03:36:00 【Cheng_0829】
1、在程序最前面加:#define_CRT_SECURE_NO_DEPRECATE
2、按照vs規定進行修改,例如把scanf改為scanf_s;
3、在"項目" -> “XXX屬性” -> “C/C++” -> “常規” -> "SDL檢查"裏關閉SDL檢查
4、在項目屬性----C/C++ ----命令行中添加:/D_CRT_SECURE_NO_WARNINGS就行了。
版权声明
本文为[Cheng_0829]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230333367388.html
边栏推荐
猜你喜欢
Design and implementation of redis (2): how to handle expired keys
Unity Basics
On the principle of concurrent programming and the art of notify / Park
Development record of primary sensitive word detection
Codeforces Round #784 (Div. 4)题解 (第一次AK cf (XD
Design and implementation of redis (3): persistence strategy RDB, AOF
Visual programming -- how to customize the mouse cursor
浅学一下I/O流和File类文件操作
Common auxiliary classes
標識符、關鍵字、數據類型
随机推荐
2021-08-31
Commonly used classes
Development record of primary sensitive word detection
Codeforces Round #784 (Div. 4)题解 (第一次AK cf (XD
There is no index in the database table. When inserting data, SQL statements are used to prevent repeated addition (Reprint)
标识符、关键字、数据类型
7-3 poly width
Query stored procedures in PostgreSQL
Install PaddlePaddle on ARM
深度學習筆記(二)——激活函數原理與實現
Openvino only supports Intel CPUs of generation 6 and above
Key point detection of human hand based on mediapipe
2022 团体程序设计天梯赛 模拟赛 L1-7 矩阵列平移 (20 分)
Problem C: Hanoi Tower III
Applet - WXS
深度学习笔记(二)——激活函数原理与实现
Supersocket is Use in net5 - concept
Abstract classes, interfaces and common keywords
C interface
Visual programming - Experiment 2