当前位置:网站首页>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
边栏推荐
- Batch download of files ---- compressed and then downloaded
- Flink customizes the application of sink side sinkfunction
- socket编程 send()与 recv()函数详解
- Laboratory safety examination
- JS changes the words separated by dashes into camel style
- Codeforces Round #784 (Div. 4)题解 (第一次AK cf (XD
- 移植tslib时ts_setup: No such file or directory、ts_open: No such file or director
- Database - MySQL -- Navicat import SQL error 1067 - invalid default value for 'paydate‘
- Problem C: Hanoi Tower III
- PYMOL-note
猜你喜欢

Supersocket is Use in net5 - concept

C abstract class

2022 团体程序设计天梯赛 模拟赛 L2-3 浪漫侧影 (25 分)

Problem a: face recognition

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

Visual programming -- how to customize the mouse cursor

Database SQL -- simulate inserting a large amount of data, importing / exporting database scripts, timestamp conversion and database basics

2022 group programming ladder game simulation L2-4 Zhezhi game (25 points)

Build websocket server in. Net5 webapi

Notes sur l'apprentissage profond (Ⅱ) - - Principe et mise en oeuvre de la fonction d'activation
随机推荐
Romantic silhouette of L2-3 of 2022 group programming ladder Simulation Competition (25 points)
mui. Plusready does not take effect
The principle and solution of not allowing pasting in an English Network
MySQL zip installation tutorial
JS inheritance
Chapter 8 exception handling, string handling and file operation
对象和类的概念
Problem B: small challenge
深度学习笔记(二)——激活函数原理与实现
A hundred dollars for a hundred chickens
Batch download of files ---- compressed and then downloaded
批量下载文件----压缩后再下载
POI create and export Excel based on data
MySQL grouping query rules
Visual programming -- how to customize the mouse cursor
Design and implementation of redis (1): understand data structures and objects
Supersocket is Use in net5 - concept
Initial experience of talent plan learning camp: communication + adhering to the only way to learn open source collaborative courses
打卡:4.23 C语言篇 -(1)初识C语言 - (12)结构体
QT uses drag and drop picture to control and mouse to move picture