Procedure URPOSE Uses Dos,Crt; Const VersionNum = 'V1.0 BETA'; ProgNameStr = 'NEWPROJ.EXE'; ProgNameShortStr = 'NP.EXE'; copyRightStr = ProgNameStr+'
分类:
其他好文 时间:
2016-02-27 20:45:54
阅读次数:
503
建立单链表,并且从头到尾打印单链表#define_CRT_SECURE_NO_WARNINGS1#include<stdio.h>#include<stdlib.h>#include<assert.h>typedefintDataType;typedefstructLinkNode{DataTypedata;//定义节点的数据structLinkNode*next;//保存下一个节点的地址}LinkNode..
分类:
其他好文 时间:
2016-02-27 01:08:06
阅读次数:
198
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct teacher { char name[32]; int math; int engli
分类:
其他好文 时间:
2016-02-25 22:39:17
阅读次数:
224
VGA,DVI和HDMI是三种视频传输标准,从而形成了以三种标准为基础的三种接口。所以他们是标准名称也是接口名称。在现在我们的计算机和电视设备上经常能见到。甚至有的显卡和显示器是三个接口共存的。大家对着三个名词并不陌生,尤其是VGA更是耳熟能详,但对DVI和HDMI虽然听过但..
分类:
其他好文 时间:
2016-02-23 19:14:38
阅读次数:
183
//时间函数的使用 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<time.h> //time_t time(time_t *t); //如果t是空指针,直接返回当前时间。如果t不是空指针,
分类:
编程语言 时间:
2016-02-22 17:15:54
阅读次数:
155
#define_CRT_SECURE_NO_WARNINGS#include<iostream>#include<Windows.h>usingnamespacestd;classDate{public: Date(int_year,int_month,int_day);//构造函数 voidShowDate() { cout<<year<<"-"<<month<<"-"<<day<<endl; } bo..
分类:
其他好文 时间:
2016-02-19 14:31:30
阅读次数:
288
#define_CRT_SECURE_NO_WARNINGS1
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include<string.h>
#defineMAXSIZE1000
typedefintDateType;
typedefstructSeqList
{
DateTypearr[MAXSIZE];
size_tsize;
}SeqList;
//打印静态顺序表..
分类:
编程语言 时间:
2016-02-19 01:47:18
阅读次数:
274
#define_CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<assert.h>#include<string.h>#defineMAX_SIZE5typedefintDataType;typedefstructSeqList{DataTypearray[MAX_SIZE];size_tsize;}SeqList;打印顺序表voidPrintfSeqList(SeqList*pSeq){assert(pSeq);i..
分类:
其他好文 时间:
2016-02-18 20:00:52
阅读次数:
186
以下都是对单链表一些简单的应用和对一些简单问题的解决方案。代码如下:#define_CRT_SECURE_NO_WARNINGS//vs2013中需要加的一个宏!#include<iostream>#include<string.h>#include<assert.h>typedefintDateType;typedefstructSListNode{ DateTypedata; stru..
分类:
其他好文 时间:
2016-02-18 13:57:39
阅读次数:
248
centos6.5系统下,发现一个问题,history-c后,历史命令被清空,但退出CRT再登入时发现还有历史命令,这是什么情况呢?[root@localhost~]#find/-name*history#查找相关文件/root/.bash_history/usr/bin/ck-history/usr/share/doc/pam-1.1.1/txts/README.pam_pwhistory/var/lib/..
分类:
其他好文 时间:
2016-02-18 12:09:23
阅读次数:
163