- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 清理IIS指定IP记录
import java.io.*;import java.util.ArrayList;import java.util.ListIterator;/** *//** * @author Ansty * */public class LogKiller ...{ private String ip; // 要清除的IP private ArrayList logArray = ne
2008-02-14 16:32:00 1013
原创 稀疏矩阵
#include stdio.h>#include stdlib.h>#include malloc.h>#define ERROR 0;#define OK 1;#define MAXSIZE 10#define ElemType inttypedef struct...{ int i; //该非零元的行下标 int j; //该非零元的列下标 ElemType
2007-11-07 13:44:00 754
原创 括号匹配
#include stdio.h>#include stdlib.h>#include malloc.h>#include iostream.h>#define ElemType char#define Status int#define STACKSIZE 10#define OK 1#define ERROR 0typedef struct...{ ElemType *base
2007-11-07 13:42:00 697
原创 二叉树
//#include #include iostream.h>#include malloc.h>int i;struct bt...{ char elem; struct bt *l; struct bt *r;};//先序生成二叉树struct bt * Creat(struct bt *t,char *elem)...{ //if(i>j) // re
2007-11-07 13:41:00 636
原创 单链表
#include stdio.h>#include malloc.h>#includestdlib.h>typedef struct LNode...{ int data; struct LNode *next;}LNode,*LinkList;//新建链表void CreateList(LinkList &head,int i)...{ LinkList p;
2007-11-07 13:40:00 641 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人