码迷,mamicode.com
首页 >  
搜索关键字:gns crt    ( 1888个结果
【C语言】静态顺序表的实现(包括头插、头删、尾插、尾删、查找、删除指定位置)
#define_CRT_SECURE_NO_WARNINGS1 #include<iostream> usingnamespacestd; #include<assert.h> #defineMAXSIZE100 typedefintDataType; typedefstructSeqList { DataType_array[MAXSIZE]; size_t_size; }SeqList; voidInitSeqList(SeqList*pSeq) { assert(pS..
分类:编程语言   时间:2016-05-01 17:52:59    阅读次数:350
CRT 退出全屏方法
今天用SecureCRT的时候,点了下全屏模式,结果不幸的是全屏之后无法退出,只能用ALT+TAB键切换,!百度了一下,发现用Alt+Enter快捷键就可以在全屏模式和小窗口模式切换了
分类:其他好文   时间:2016-04-30 01:22:29    阅读次数:465
二叉树的相关操作
二叉树:二叉树是一棵特殊的树,二叉树每个节点最多有两个孩子结点,分别称为左孩子和右孩子。#define_CRT_SECURE_NO_WARNINGS1#include<iostream> #include<assert.h> #include<stack> #include<queue>usingnamespacestd; //节点结构 template<clas..
分类:其他好文   时间:2016-04-27 19:03:00    阅读次数:236
MFC中TRACE
错误 1 error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not us ...
分类:编程语言   时间:2016-04-27 18:39:27    阅读次数:388
【数据结构】优先级队列的实现
建立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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!