码迷,mamicode.com
首页 >  
搜索关键字:crt    ( 1749个结果
【数据结构】优先级队列的实现
建立PriorityQueue.hpp:#define_CRT_SECURE_NO_WARNINGS1 #include<iostream> usingnamespacestd; #include<assert.h> #include<vector> template<classT> structLess { booloperator()(constT&l,constT&r) { returnl<r; } }; template..
分类:其他好文   时间:2016-04-27 07:09:59    阅读次数:181
线索化二叉树
#define_CRT_SECURE_NO_WARNINGS1 #include<iostream> usingnamespacestd; enumPointerTag{THREAD,LINK};//枚举 前言:为了遍历的方便,我们在二叉树中引入前驱和后序,这样就储存了相关信息。 其结构如下:template<classT> structBinaryTreeThdNode { T_data;..
分类:其他好文   时间:2016-04-27 07:09:56    阅读次数:132
如何使用SecureCRT连接虚拟机中的Linux(CentOS)
打开CentOS,输入用户名和密码 查询ip:ifconfig eg:inet addr:192.168.12.107 打开CRT 右键点击Sessions-->New Sessions 点击下一步 在Hostname输入ip地址,在Username输入用户名 创建完成 右键点击连接-->conne ...
分类:系统相关   时间:2016-04-26 01:59:50    阅读次数:744
“打擂台'找最大数
遇到比较多的数据时,我们通常采用"打擂台"的方法处理#define_CRT_SECURE_NO_WARNINGS1#include<stdio.h>intmain(){ inta,b,c,d,max; scanf("%d%d%d%d",&a,&b,&c,&d); max=a; if(b>max) max=b; if(c>max) max=c; if(d>max) max=d; printf("%..
分类:其他好文   时间:2016-04-23 15:09:27    阅读次数:155
线性结构——栈
//函数声明: #define_CRT_SECURE_NO_WARNINGS1 #include<stdio.h> #include<stdlib.h> #defineSTACK_INIT_MEMORY100 #defineSTACK_GROW_MEMORY10 typedefintElemType; typedefstructstack { ElemType*esp; ElemType*ebp; intsize;//记录当前栈内空间最多能存几..
分类:其他好文   时间:2016-04-23 15:08:10    阅读次数:173
_CRT_SECURE_NO_WARNINGS
本文摘自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
每天一个linux命令(12):more命令
1、命令简介 more (more) 会将文件内容一页一页的显示,方便使用者逐页阅读。(file perusal filter for crt viewing) ,按空白键(space)就往下一页显示,按 b 键就会往回(back)一页显示,而且还有搜寻字串的功能(与 vi 相似),使用中的说明文件... ...
分类:系统相关   时间:2016-04-20 23:45:09    阅读次数:442
解决WIN7与虚拟机CentOS的文件夹共享问题
一、系统与软件 WIN7 64bit、VirtualBox 5.0.14、CentOS 6.5、SecureCRT 7.2.3 二、使用文件夹共享需要安装增强功能,但是安装时无法读取光盘iso文件 三、为了方便操作,配置静态IP,并使用CRT连接上去(参考http://my.oschina.net/ ...
分类:Windows程序   时间:2016-04-20 23:43:42    阅读次数:732
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!