码迷,mamicode.com
首页 >  
搜索关键字:crt-secure    ( 558个结果
大数加法
1.加法 //A+B问题 #define _CRT_SECURE_NO_DEPRECATE #include<iostream> #include<cstdio> #include<cstring> using namespace std; char s1[1000], s2[1000]; void ...
分类:其他好文   时间:2018-11-20 20:48:49    阅读次数:172
C语言判断字符串是否旋转过
//方法一 //每次左旋一次,判断旋转之后字符串是否与目标字符串是否一致 //旋转一圈 没有找到返回0 #define _CRT_SECURE_NO_WARNINGS #include #include #include void left_rotate(char *str, int k) { in... ...
分类:编程语言   时间:2018-11-10 23:49:15    阅读次数:193
C++STL模板库序列容器之deque
[toc] 一丶队列容器deque简介 deque底层跟vector一样,都是数组维护.不同的是可以操作头部. 二丶使用代码演示 define _CRT_SECURE_NO_WARNINGS include include include include include include includ ...
分类:编程语言   时间:2018-11-01 22:41:59    阅读次数:275
C语言实现''student a am i''字符串的正确排列
#define _CRT_SECURE_NO_WARNINGS #include #include int Reverse(char a[],char b[],int len) { int i = 0; //建立一个新数组用来储存逆序的语言 for (int i = 0; i <= len; i++... ...
分类:编程语言   时间:2018-10-26 19:28:58    阅读次数:123
二柱子的出题软件
二柱子的软件 支持真分数的四则运算 可定义出题数量 #define _CRT_SECURE_NO_DEPRECATE#include<stdio.h>#include<Windows.h>#include<time.h>int main(){ int a, b, c, d, e, f, g, k;  ...
分类:其他好文   时间:2018-10-07 23:24:49    阅读次数:162
[c++]关于strcpy函数溢出解决方案
找到【项目属性】,点击【C++】里的【预处理器】,对【预处理器】进行编辑,在里面加入一段代码:_CRT_SECURE_NO_WARNINGS。 ...
分类:编程语言   时间:2018-10-05 01:00:52    阅读次数:188
C++之string学习
#define _CRT_SECURE_NO_WARNINGS #include #include #include using namespace std; int main(int argc, char * argv[]) { //string str2 = "xiaoliang"; //str... ...
分类:编程语言   时间:2018-09-19 23:37:53    阅读次数:412
【待补】splay 模板
#define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include using namespace std; #define rep(i,t,n) for(int i =(t);i=(t);--i... ...
分类:其他好文   时间:2018-08-20 23:00:47    阅读次数:260
数据结构(四)树---集合的表示及查找(并查集)
一:集合运算 二:并查集 (一)集合并 (二)查某元素属于什么集合 S1={1,2,4,7} S2={3,5,8} S3={6,9,10} 三:查找(根)的实现 #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h ...
分类:其他好文   时间:2018-08-17 00:35:06    阅读次数:236
数据结构(四)树---二叉树实现
(一)顺序结构创建二叉树 #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <math.h> #define OK 1 #define ERROR 0 #define TRUE 1 #def ...
分类:其他好文   时间:2018-08-12 20:01:26    阅读次数:166
558条   上一页 1 ... 10 11 12 13 14 ... 56 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!