当前位置:网站首页>How to solve the problem of scanf compilation error in Visual Studio
How to solve the problem of scanf compilation error in Visual Studio
2022-07-25 15:13:00 【GracefulBlack】
First use visual stdio My little baiken must encounter such a problem 
How should we solve this problem
1. The first step is to find the attribute 
2. Find a choice The preprocessor , Click the part indicated by the red arrow , Click edit 
3. Add the following code under the definition of preprocessing **_CRT_SECURE_NO_WARNINGS** that will do , Click ok 
PS:
1. If you encounter the red letter of system exception , Remember to turn off the real-time scanning of McAfee brought by Lenovo !
2. Just use my method , use scanf_s The method of is not recommended , Because this writing method is wrong under other compilers !
边栏推荐
- [thread knowledge points] - spin lock
- System.AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏
- args参数解析
- 了解一下new的过程发生了什么
- 用setTimeout模拟setInterval定时器
- Hbck 修复问题
- Automatically set the template for VS2010 and add header comments
- Award winning interaction | 7.19 database upgrade plan practical Summit: industry leaders gather, why do they come?
- Application of object detection based on OpenCV and yolov3
- MySQL之事务与MVCC
猜你喜欢

Award winning interaction | 7.19 database upgrade plan practical Summit: industry leaders gather, why do they come?

Gbdt source code analysis of boosting

Boosting之GBDT源码分析

【JS高级】js之正则相关函数以及正则对象_02

Leetcode combination sum + pruning

Unable to start web server when Nacos starts

6月产品升级观察站

Implement a simple restful API server

延迟加载源码剖析:

【微信小程序】小程序宿主环境详解
随机推荐
记一次Spark报错:Failed to allocate a page (67108864 bytes), try again.
spark中saveAsTextFile如何最终生成一个文件
[thread knowledge points] - spin lock
How much memory can a program use at most?
VS2010 add WAP mobile form template
处理ORACLE死锁
Nacos2.1.0 cluster construction
npm的nexus私服 E401 E500错误处理记录
Gbdt source code analysis of boosting
TypeScript学习1——数据类型
Spark提交参数--files的使用
记一次Yarn Required executor memeory is above the max threshold(8192MB) of this cluster!
Object.prototype. Hasownproperty() and in
Use the command to check the WiFi connection password under win10 system
LeetCode_ Factorization_ Simple_ 263. Ugly number
海缆探测仪TSS350(一)
6月产品升级观察站
Idea远程提交spark任务到yarn集群
万能通用智能JS表单验证
瀑布流布局