数据结构课程设计 输入输出
文件的输入输出 #include #include using namespace std; struct LowCostEdgeType { int weight; int adjvex; }; void minitree_prim(MGraph&G,int&u) { //利用普里姆算法从顶点u起求图G的最小生成树。G用邻接矩阵作存储结构 int VexNum=G.GetVexNum(); LowCostEdgeType* lowcostedge;
下载地址
用户评论