摘要: //不能通过编译,没有引入队列头文件 1 #include 2 #define MAX_VERTEX_NUM; 3 typedef int infoType; 4 typedef int vertexType; 5 6 typedef struct ArcNode{ 7 ... 阅读全文
posted @ 2015-05-08 14:37 Object_mo 阅读(13380) 评论(0) 推荐(0) 编辑
摘要: package cn.it;import java.io.File;import java.util.LinkedList;import java.util.Queue;public class FileUtil { public static void main(String[] args) { ... 阅读全文
posted @ 2015-05-08 09:51 Object_mo 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 typedef char ele; 3 4 typedef struct BiTNode{ 5 ele e; 6 struct BiTNode *lnode,*rnode; 7 }bitNode,*bitree; 8 9 void visit(ele ... 阅读全文
posted @ 2015-05-08 09:46 Object_mo 阅读(2035) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 3 #define SIZE 10 4 typedef char ele; 5 6 typedef struct{ 7 ele *e; 8 int front; 9 int rear;10 }cycleQueue;11 12 13 //init... 阅读全文
posted @ 2015-05-08 09:07 Object_mo 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 typedef char ele; 3 typedef struct node{ 4 ele e; 5 struct node qnode; 6 }QNode,*Qptr; 7 8 typedef struct{ 9 Qptr front... 阅读全文
posted @ 2015-05-08 08:37 Object_mo 阅读(1870) 评论(0) 推荐(0) 编辑
mozhuhao