码迷,mamicode.com
首页 >  
搜索关键字:gns crt    ( 1888个结果
本站点 头文件 本人代码由centos6.5虚拟机运行
wz.h ////////////////////////// #define_CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<assert.h> #include<errno.h> #include<string.h> #include<time.h> #include<time.h> #include<stdarg.h> ..
分类:其他好文   时间:2016-03-11 06:43:29    阅读次数:185
C++ 模拟String类 相关
#define_CRT_SECURE_NO_WARNINGS1 #include<iostream> #include<cassert> usingnamespacestd; //string编写 /*版本1以前的版本*/ /*************** classString { public: //错误String(char*str=NULL) String(char*str="") :_str(newchar[strlen(str)+1]) { } Str..
分类:编程语言   时间:2016-03-10 01:53:23    阅读次数:276
最小生成树 - 普里姆 - 边稠密 - O(N ^ 2)
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<string.h> #define N 1005 #define MAX 100000 int n, ans, A[N][N], dis[N], vis[N]; void Prim(
分类:其他好文   时间:2016-03-07 17:00:43    阅读次数:195
C语言 结构体
//结构体 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<string.h> //结构体是一种构造数据类型,用途把不同的数据组合成一个整体 //结构体变量数据大,作为参数的时候一般会使用结构
分类:编程语言   时间:2016-03-07 16:52:00    阅读次数:143
最小生成树 - 克鲁斯卡尔 - 并查集 - 边稀疏 - O(E * logE)
#define _CRT_SECURE_NO_WARNINGS #include<cstdio> #include<cstring> #include<algorithm> using namespace std; #define N 100005 int p[N]; struct Edge { i
分类:其他好文   时间:2016-03-07 16:39:43    阅读次数:151
C语言 共用体
//共用体 union #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<string.h> // union 共用体,构造数据类型,也叫联合体,用途:十几个不同类型的变量共占一段内存(相互覆盖
分类:编程语言   时间:2016-03-07 16:29:14    阅读次数:220
C语言 BUG报错整理
错误一 关键字:间接寻址级别不同 #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> char strcat(char *a,char *b) { char c[199]
分类:编程语言   时间:2016-03-07 12:07:03    阅读次数:322
USACO 之 Section 1.5 (已解决)
Number Triangles: /* DP 题 dp[j] = max(dp[j - 1] + tgl[i-1][j], dp[j] + tgl[i-1][j]); */ 1 #define _CRT_SECURE_NO_WARNINGS 2 #define HOME 3 #define _CR
分类:其他好文   时间:2016-03-06 20:34:49    阅读次数:93
typedef的使用1
#include <stdio.h> #include <string.h> //#define _CRT_SRCURE_NO_WARNING #pragma warning(disable:4996) typedef unsigned int uint; typedef unsigned char
分类:其他好文   时间:2016-03-04 22:29:42    阅读次数:201
warning C4996: 'sprintf': This function or variable may be unsafe
选项Project | Configuration Properties | C/C++ | Preprocessor | Preprocessor Definitions 添加_CRT_SECURE_NO_DEPRECATE和_SCL_SECURE_NO_DEPRECATE
分类:其他好文   时间:2016-03-04 16:22:39    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!