#include
#include
#define MaxSize 100
/*线索二叉树类型定义*/
typedef char DataType;
typedef enum {Link,Thread}PointerTag;//Link=0表示指向孩子节点,Thread=1表示指向前驱节点或后继节点
typedef struct Node{
DataType data;
struct Node...
分类:
其他好文 时间:
2015-08-10 00:23:31
阅读次数:
103
#include
#include
#define MaxSize 200
typedef int DataType;
typedef struct{ //三元组类型定义
int i,j;
DataType e;
}Triple;
typedef struct{ //矩阵类型定义
Triple data[MaxSize];
int rpos[MaxSize]; //用于存储三...
分类:
其他好文 时间:
2015-08-08 06:45:52
阅读次数:
151
#include
#include
#include
#include
using namespace std;
#define MAXN 9999
#define MAXSIZE 10
#define DLEN 4
class BigNum
{
private:
int a[500]; //可以控制大数的位数
int len; //大数长度
public...
分类:
其他好文 时间:
2015-08-07 14:48:59
阅读次数:
144
1.char string[MAXSIZE], *tmp = string;2.
分类:
编程语言 时间:
2015-08-06 23:54:41
阅读次数:
189
//_DataStructure_C_Impl:链式队列
#include
#include
#define MaxSize 100
typedef int DataType;
typedef struct QNode{
DataType data;
struct QNode *next;
}LQNode,*QueuePtr;
typedef struct{
QueuePtr front;
...
分类:
其他好文 时间:
2015-08-06 07:08:26
阅读次数:
110
定义顺序表的结构 用数组来模拟顺序表的保存形式,在顺序表中还需定义一个变量,用来保存顺序表中已有元素的数量。 typedef struct//定义顺序表结构 { DATA ListData[MAXSIZE+1]; //保存顺序表的数组 int ListLen; //顺序表已存节点的...
分类:
其他好文 时间:
2015-08-05 18:08:02
阅读次数:
144
使用php 进行多文件的上传是学习php 必不可少的内容,因此我根据 慕课网上的教程改编了下,形成下面的代码,如若有什么问题,请指点指点我这个小菜鸟!upload.class.php: 面向对象的类文件的封装fileName = $fileName; $this->maxSize = ...
分类:
Web程序 时间:
2015-07-31 19:56:00
阅读次数:
147
#include #include#include#include#define MAXSIZE 100using namespace std;struct Stack{ int s[MAXSIZE]; int top=0; bool stackOverFlow(){ ...
分类:
其他好文 时间:
2015-07-30 21:04:10
阅读次数:
118
--创建表空间CREATE TABLESPACERH_DMRM(表空间)datafile 'G:\Oracle\data\dmrm1.dbf' size 800M reuse autoextend on next 5M maxsize unlimited, 'G:\Oracle\data\...
分类:
数据库 时间:
2015-07-30 18:51:06
阅读次数:
326
二叉树的遍历也常常用来对二叉树进行计数。
#include
#include
#include
#define MAXSIZE 100
typedef char ElemType;
typedef struct Node
{
ElemType data;
struct Node *lchild;
struct Node *rchi...
分类:
其他好文 时间:
2015-07-28 21:09:29
阅读次数:
126