摘要:
//不能通过编译,没有引入队列头文件 1 #include 2 #define MAX_VERTEX_NUM; 3 typedef int infoType; 4 typedef int vertexType; 5 6 typedef struct ArcNode{ 7 ... 阅读全文
摘要:
package cn.it;import java.io.File;import java.util.LinkedList;import java.util.Queue;public class FileUtil { public static void main(String[] args) { ... 阅读全文
摘要:
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 ... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文