当前位置:网站首页>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
边栏推荐
- Definition format of array
- 第四次作业
- MySQL zip installation tutorial
- 浅学一下I/O流和File类文件操作
- 【微服务】(十)—— 统一网关Gateway
- PWA I'm here
- Design and implementation of redis (5): master-slave replication strategy and optimization
- C-11 problem h: treasure chest 2
- Learn about I / O flow and file operations
- File upload vulnerability summary and upload labs shooting range documentary
猜你喜欢
QT dynamic translation of Chinese and English languages
2022 团体程序设计天梯赛 模拟赛 L2-1 盲盒包装流水线 (25 分)
7-1 introduction to finance
The art of concurrent programming (6): explain the principle of reentrantlock in detail
Idea view history [file history and project history]
Visual programming -- how to customize the mouse cursor
[microservices] (x) -- Unified gateway
Common net HP UNIX system FTP server listfiles returns null solution.
常用的辅助类
Detailed description of MySQL index [B + tree index, hash index, full-text index, overlay index]
随机推荐
2022 group programming ladder simulation match 1-8 are prime numbers (20 points)
Optimization of especially slow startup in idea debugging mode
Build websocket server in. Net5 webapi
Unity knowledge points (common core classes)
Commonly used classes
Database SQL -- simulate inserting a large amount of data, importing / exporting database scripts, timestamp conversion and database basics
MySQL keyword group_ Concat, combined connection query
Download and configuration of idea
集合之List接口
2022 团体程序设计天梯赛 模拟赛 L1-7 矩阵列平移 (20 分)
If statement format flow
2022 团体程序设计天梯赛 模拟赛 L2-3 浪漫侧影 (25 分)
Notes sur l'apprentissage profond (Ⅱ) - - Principe et mise en oeuvre de la fonction d'activation
Laboratory safety examination
2021-08-11
Super easy to use [general excel import function]
PyMOL usage
The website JS in. Net core cefsharp chromium WebBrowser calls the C method in winfrom program
Using swagger in. Net5
Applet - WXS