当前位置:网站首页>如何解决Visual Studio中scanf编译报错的问题
如何解决Visual Studio中scanf编译报错的问题
2022-07-25 15:05:00 【GracefulBlack】
初次使用visual stdio的小白肯一定会遇到这样的问题
我们应该如何解决这个问题呢
1.第一步首先找到项目的属性
2.找到选择预处理器,点击红色箭头所指的部分,点击编辑
3.在预处理定义下加入如下代码**_CRT_SECURE_NO_WARNINGS**即可,点击确定
PS:
1.如果遇到系统异常的红字,记得把联想自带迈克菲的实时扫描关掉!
2.用我的方法就可以了,用scanf_s的方法不推荐,因为在其他编译器下这种写法是错误的!
边栏推荐
- Sudo rosdep init error ROS installation problem solution
- String type time comparison method with error string.compareto
- API health status self inspection
- Copy files / folders through Robocopy
- sql to linq 之存储过程偏
- Deployment and simple use of PostgreSQL learning
- Install entityframework method
- Browser based split screen reading
- How to use the random number function of JMeter
- 006操作符简介
猜你喜欢

Overview of cloud security technology development
![Number of high-quality number pairs [bit operation characteristics + abstract ability evaluation + grouping fast statistics]](/img/c9/8f8f0934111f7ae8f8abd656d92f12.png)
Number of high-quality number pairs [bit operation characteristics + abstract ability evaluation + grouping fast statistics]

"Ask every day" how locksupport realizes thread waiting and wakeup

Leetcode-198- house raiding

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

I2C设备驱动程序的层次结构

AS查看依赖关系和排除依赖关系的办法

39 simple version of millet sidebar exercise

流程控制(上)

IP地址分类,判断一个网段是子网超网
随机推荐
Stored procedure bias of SQL to LINQ
剑指Offer | 二进制中1的个数
Ssh server rejected password
Yes, UDP protocol can also be used to request DNS server
Add the jar package under lib directory to the project in idea
简易轮播图和打地鼠
[Android] recyclerview caching mechanism, is it really difficult to understand? What level of cache is it?
easygui使用的语法总结
二维数组赋初值你会几种方法?
41 图片背景综合-五彩导航图
Universal smart JS form verification
转载----如何阅读代码?
[nuxt 3] (XI) transmission & module
44 新浪导航 ,小米边栏 练习
IP address classification, which determines whether a network segment is a subnet supernetwork
Gonzalez Digital Image Processing Chapter 1 Introduction
给VS2010自动设置模板,加头注释
Thymeleaf notes
39 简洁版小米侧边栏练习
45padding won't open the box