您好,欢迎光临本网站![请登录][注册会员]  

搜索资源列表

  1. 邻接表与邻接矩阵互换代码

  2. #include #include typedef int InfoType; #define MAXV 100 /*最大顶点个数*/ /*以下定义邻接矩阵类型*/ typedef struct { int no; /*顶点编号*/ InfoType info; /*顶点其他信息*/ } VertexType; /*顶点类型*/ typedef struct /*图的定义*/ { int edges[MAXV][MAXV]; /*邻接矩阵*/ int vexnum,arcnum; /*顶点
  3. 所属分类:C++

    • 发布日期:2012-06-16
    • 文件大小:4096
    • 提供者:doulishaoketang