數據結構 圖的創建 C語言版

#include <stdio.h> #include <stdlib.h> #define max_vertex_num 100 //最多頂點個數 typedef char VertexData; typedef int AdjType ; typedef int OtherInfo ; typedef struct ArcNode { AdjType adj; //對於無權圖 用1表示相鄰
相關文章
相關標籤/搜索