-
单链表---C++描述 - [C++]
2008-05-31
#include <iostream>
using namespace std;
#define ElemType int
#define flag -1
typedef struct Node
{
ElemType data;
struct Node *next;
}LNode, *L... -
顺序表---C++描述 - [C++]
2008-05-25
顺序表的一些简单操作:
#include<iostream>
#define MAXSIZE 100
using namespace std;
typedef struct
{
int data[MAXSIZE];
int length;
}SeqList;
SeqList SeqLis... -
二叉树---C++描述 - [C++]
2008-05-24
自己根据课本上的算法编写的二叉树的部分操作!代码如下:
for example: abd##e##cf##g##
#include<iostream>
using namespace std;
typedef char DataType;
/******结点类型**************/
typedef struct BitNode
{...
共1页 1







