当前位置:网站首页>Vs2019 scanf error
Vs2019 scanf error
2022-06-25 14:46:00 【m0_ fifty-nine million nine hundred and forty-nine thousand fou】
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int max(int a, int b);
int main()
{
int x, y, z;
//int max(int a,int b);
printf("input two numbers : \n");
scanf("%d%d", &x, &y);
z = max(x, y);
printf("maxmum=%d", z);
}
int max(int a, int b)
{
if (a > b)return a;else return b;
}
terms of settlement : Add... Before the code “#define _CRT_SECURE_NO_WARNINGS”.
边栏推荐
猜你喜欢

Pourquoi les programmeurs devraient - ils être plus doux?

两种方法实现pycharm中代码回滚到指定版本(附带截图展示)

Summary of common functions in Oracle Database

Experts' suggestions | 8 measures to accelerate your innovative career planning and growth

Kubernetes understands kubectl/ debugging

Clinical Chemistry | 张建中/徐健开发幽门螺杆菌单细胞精准诊疗技术

Build a minimalist gb28181 gatekeeper and gateway server, establish AI reasoning and 3D service scenarios, and then open source code (I)

搭建极简GB28181 网守和网关服务器,建立AI推理和3d服务场景,然后开源代码(一)

分享自己平时使用的socket多客户端通信的代码技术点和软件使用

QQ love talk candy love talk content acquisition and storage
随机推荐
【HBZ分享】LockSupport的使用
Application of TSDB in civil aircraft industry
让PyTorch训练速度更快,你需要掌握这17种方法
Renix perf: detailed explanation of IP network performance test tools and test case parameters
分饼干问题
JS to verify whether the string is a regular expression
分享自己平时使用的socket多客户端通信的代码技术点和软件使用
Flexible layout (display:flex;) Attribute details
Supplementary inheritance and strict mode
JVM uses tools to analyze classic cases of OOM
To make pytorch faster, you need to master these 17 methods
[world history] Episode 1: people in the Stone Age
Laravel8 implementation of picture verification code
Gif动图如何裁剪?收下这个图片在线裁剪工具
JS get the height and width corresponding to the box model (window.getcomputedstyle, dom.getboundingclientrect)
Get the parameters in the URL and the interchange between parameters and objects
Pourquoi les programmeurs devraient - ils être plus doux?
Native JS obtains form data and highlights and beautifies JSON output display
Async await to achieve sleep waiting effect
QQ情话糖果情话内容获取并保存