当前位置:网站首页>VS Studio 修改C语言scanf等报错
VS Studio 修改C语言scanf等报错
2022-04-23 03:33: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://blog.csdn.net/Louise_Trender/article/details/124356714
边栏推荐
- Alphafpld upgrade alphafold multimer
- 移植tslib时ts_setup: No such file or directory、ts_open: No such file or director
- Code forces round # 784 (DIV. 4) solution (First AK CF (XD)
- Optimization of especially slow startup in idea debugging mode
- Talent Plan 学习营初体验:交流+坚持 开源协作课程学习的不二路径
- QT dynamic translation of Chinese and English languages
- Supersocket is Use in net5 - concept
- Leetcode 617 merge binary tree
- mui. Plusready does not take effect
- 7-3 poly width
猜你喜欢

Test questions (2)

Super easy to use asynchronous export function of Excel

Codeforces Round #784 (Div. 4)題解 (第一次AK cf (XD

TCP three handshakes and four waves

Visual programming - Experiment 1

Download and configuration of idea
![Idea view history [file history and project history]](/img/b2/3128105eca7449c55146ce3b9e5c2e.png)
Idea view history [file history and project history]

Optimization of especially slow startup in idea debugging mode

The art of concurrent programming (3): an in-depth understanding of the principle of synchronized

2022 团体程序设计天梯赛 模拟赛 L2-3 浪漫侧影 (25 分)
随机推荐
PWA I'm here
MySQL grouping query rules
C set
Visual programming -- how to customize the mouse cursor
MySQL query specifies that a row is sorted to the first row
QT uses drag and drop picture to control and mouse to move picture
ThreadLocal test multithreaded variable instance
深度學習筆記(二)——激活函數原理與實現
QT learning summary
7-2 Tushare
Use the thread factory to set the thread name in the thread pool
打卡:4.23 C语言篇 -(1)初识C语言 - (12)结构体
Notes sur l'apprentissage profond (Ⅱ) - - Principe et mise en oeuvre de la fonction d'activation
2022 团体程序设计天梯赛 模拟赛 1-8 均是素数 (20 分)
QT dynamic translation of Chinese and English languages
Several common methods of multithreading
Using jsonserialize to realize data type conversion gracefully
Three column layout (fixed width on both sides in the middle and fixed width on both sides in the middle)
POI create and export Excel based on data
你真的懂hashCode和equals吗???