www.pudn.com > XiaoYuanDaoYouTu.rar > Graphm.cpp
#include "Graphm.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
Graphm::Graphm(int numVert):Graph(numVert)
{
int i,j; //i,j仅仅作为for循环中的计数器
matrix = (int**)new int*[numVert]; //申请matrix数组,其中每个元素是整型指针类型
for( i=0; i