码迷,mamicode.com
首页 >  
搜索关键字:crt-secure    ( 558个结果
考试错误练习
#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<stdlib.h>int main(){ int a; int b; int tmp; int i; printf("input a and b:"); scanf("%d%d", &a ...
分类:其他好文   时间:2019-12-07 19:20:32    阅读次数:106
结构体
结构体先定义后调用,定义的时候不分配内存,创建时才分配内存 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<time.h> struct mycoach//mycoach是结构体类型,如果省略 ...
分类:其他好文   时间:2019-12-01 16:41:22    阅读次数:67
SDK回调函数实现双页面之间的切换
#define _CRT_SECURE_NO_WARNINGS #include <windows.h> #include <stdio.h> #include "resource.h" INT_PTR CALLBACK DialogProc(HWND hwndDlog, UINT uMsg, WP ...
分类:其他好文   时间:2019-11-30 12:00:56    阅读次数:82
学习敲代第二天
#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>//将三个数按从大到小输出 int main(){ int a, b, c, num; printf("输入三个整数\n"); scanf("%d%d%d", &a, &b, &c); if (a > b ...
分类:其他好文   时间:2019-11-13 12:56:17    阅读次数:80
_CRT_SECURE_NO_WARNINGS
VS因不安全为由,禁止使用scanf、freopen等,进行以下设置可以解决此问题。 右键点击项目名,属性。 配置属性 C/C++ 预处理器 预处理器定义 编辑 填入 _CRT_SECURE_NO_WARNINGS ...
分类:其他好文   时间:2019-11-10 11:46:44    阅读次数:62
字符串中找出连续出现的最大数字字符串
#define_CRT_SECURE_NO_WARNINGS1#include<iostream>usingnamespacestd;#include<string>intmain(){strings1;while(getline(cin,s1)){intnewlen=0;//统计数字字符的长度intmax=0;//数字字符的最大长度autostart=s1.begin()
分类:其他好文   时间:2019-11-08 17:43:18    阅读次数:100
FILEBUFFER TO IMAGEBUFFER
1 #define _CRT_SECURE_NO_WARNINGS 2 #include 3 #include 4 #include 5 #define FILE_PATH1 "*************" 6 #define FILE_PATH2 "*************" 7 using n... ...
分类:其他好文   时间:2019-10-06 09:15:15    阅读次数:83
数据结构学习第二十一天
23:34:47 2019-09-06 学校未开课 继续接着暑假学习 PTA第21题 Prim最小树生成 1 #define _CRT_SECURE_NO_WARNINGS 2 #include<stdio.h> 3 #include<malloc.h> 4 #define INIFITY 6563 ...
分类:其他好文   时间:2019-09-07 01:32:05    阅读次数:119
数据结构学习第十八天
14:07:40 2019-09-02 学习 PTA第17题 六度空间理论 可以在结构体中 加上一个属性来表示层数 我是利用一个整型变量 Level和 一个数组LevelSize来记录每层数量多少 需要注意要处理 最远距离小于6的情况 1 #define _CRT_SECURE_NO_WARNING ...
分类:其他好文   时间:2019-09-03 09:45:00    阅读次数:82
用c语言打印一个三角形
#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> int main(){ int n; printf("请输入想要打 ...
分类:编程语言   时间:2019-08-27 23:30:36    阅读次数:186
558条   上一页 1 ... 6 7 8 9 10 ... 56 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!