資源簡介
一個簡單的校園導游系統
以下是部分代碼
#define INFINITY 10000 /*無窮大*/
#define MAX_VERTEX_NUM 40
#define MAX 40
#include
#include
#include
#include
typedef struct ArCell{
int adj;//路徑長度
}ArCell,AdjMatrix[MAX_VERTEX_NUM][MAX_VERTEX_NUM];
typedef struct//,圖中頂點表示主要景點,存
代碼片段和文件信息
評論
共有 條評論