当前位置:网站首页>如何解决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的方法不推荐,因为在其他编译器下这种写法是错误的!
边栏推荐
- Melody + realsense d435i configuration and error resolution
- Client error: invalid param endpoint is blank
- Unable to start web server when Nacos starts
- sql to linq 之存储过程偏
- String type time comparison method with error string.compareto
- @Scheduled source code analysis
- 32 chrome调试工具的使用
- 37 element mode (inline element, block element, inline block element)
- Share a department design method that avoids recursion
- Add the jar package under lib directory to the project in idea
猜你喜欢

Ssh server rejected password
![[Nacos] what does nacosclient do during service registration](/img/76/3c2e8f9ba19e36d9581f34fda65923.png)
[Nacos] what does nacosclient do during service registration

ice 100G 网卡分片报文 hash 问题

Fast-lio: fast and robust laser inertial odometer based on tightly coupled IEKF

Go language founder leaves Google

Melody + realsense d435i configuration and error resolution

Resource not found: rgbd_ Launch solution

String type time comparison method with error string.compareto

EDA chip design solution based on AMD epyc server

Raft of distributed consistency protocol
随机推荐
防抖(debounce)和节流(throttle)
LeetCode_字符串_中等_151.颠倒字符串中的单词
Login of MySQL [database system]
"How to use" observer mode
SQL优化的一些建议,希望可以帮到和我一样被SQL折磨的你
LeetCode_ Factorization_ Simple_ 263. Ugly number
万能通用智能JS表单验证
Log4j2 basic configuration
pkg_resources动态加载插件
[Android] recyclerview caching mechanism, is it really difficult to understand? What level of cache is it?
IP address classification, which determines whether a network segment is a subnet supernetwork
TypeScript学习2——接口
继承的实现过程及ES5和ES6实现的区别
35 quick format code
oracle_ 12505 error resolution
MySQL sort
LeetCode第 303 场周赛
[nuxt 3] (XI) transmission & module
41 picture background synthesis - colorful navigation map
图片的懒加载