本文摘自csdn沧海一粟的专栏 link:http://blog.csdn.net/xuleilx/article/details/7281499 Warning 1 warning C4996: 'fopen': This function or variable may be unsafe. C ...
分类:
其他好文 时间:
2016-04-22 11:58:01
阅读次数:
117
广义表是非线性的结构,是线性表的一种扩展,是有n个元素组成有限序列。
广义表的定义是递归的,因为在表的描述中又得到了表,允许表中有表#define_CRT_SECURE_NO_WARNINGS1
#include<iostream>
usingnamespacestd;
#include<assert.h>
enumType
{
HEAD,//头节点
..
分类:
其他好文 时间:
2016-04-22 10:44:06
阅读次数:
210
#define_CRT_SECURE_NO_WARNINGS1#include<iostream>usingnamespacestd;classTime{public: inthour; intminute; intsec;};voidset_time(Time&t)//定义函数set_time,形参t是引用变量{ cin>>t.hour;//输入设定的时间 cin>>t.minute; cin>>t.sec;}voi..
分类:
其他好文 时间:
2016-04-20 23:58:30
阅读次数:
298
1、命令简介 more (more) 会将文件内容一页一页的显示,方便使用者逐页阅读。(file perusal filter for crt viewing) ,按空白键(space)就往下一页显示,按 b 键就会往回(back)一页显示,而且还有搜寻字串的功能(与 vi 相似),使用中的说明文件... ...
分类:
系统相关 时间:
2016-04-20 23:45:09
阅读次数:
442
一、系统与软件 WIN7 64bit、VirtualBox 5.0.14、CentOS 6.5、SecureCRT 7.2.3 二、使用文件夹共享需要安装增强功能,但是安装时无法读取光盘iso文件 三、为了方便操作,配置静态IP,并使用CRT连接上去(参考http://my.oschina.net/ ...
压缩存储值存储极少数的有效数据。使用{row,col,value}三元组存储每一个有效数据,三元组按原矩阵中的位置,以行优先级先后顺序依次存放。
#define_CRT_SECURE_NO_WARNINGS1
#include<vector>
#include<iostream>
usingnamespacestd;
//三元组的定义
template<..
分类:
其他好文 时间:
2016-04-19 00:33:44
阅读次数:
176
//函数声明:#include"cirtwowaylinklist.h"
#define_CRT_SECURE_NO_WARNINGS1
#include<stdio.h>
#include<stdlib.h>
typedefintElemType;
typedefstructCirDulNode
{
structCirDulNode*prior;
ElemTypedata;
structCirDulNode*next;
}DulNode;
voidjudgem..
分类:
其他好文 时间:
2016-04-16 19:42:48
阅读次数:
237
//函数声明部分:#include"twowaylinklist.h"
#define_CRT_SECURE_NO_WARNINGS1
#include<stdio.h>
#include<stdlib.h>
typedefintElemType;
typedefstructDulNode
{
structDulNode*prior;
ElemTypedata;
structDulNode*next;
}DulNode;
voidjudgement_NULL(D..
分类:
其他好文 时间:
2016-04-15 23:12:35
阅读次数:
258
//函数声明部分:#include"CirLinkList.h"
#define_CRT_SECURE_NO_WARNINGS1
#include<stdio.h>
#include<stdlib.h>
typedefintElemType;
typedefstructlinknode
{
ElemTypedata;
structlinknode*next;
}node;
voidjudgement_NULL(node*p);
node*creat_orde..
分类:
其他好文 时间:
2016-04-15 23:10:27
阅读次数:
199
口袋中有5种颜色的小球,每次从口袋中任意取3个,问得到3种不同颜色的小球的可能取法?#define_CRT_SECURE_NO_WARNINGS1#include<iostream>#include<iomanip>usingnamespacestd;intmain(){ enumcolor{red,yellow,blue,white,black};//声明枚举类型color colorpri;/..
分类:
其他好文 时间:
2016-04-14 22:38:14
阅读次数:
227