R[r1][r2]=1g->R[r2][r1]=1scanf("%d,%d",&r1,&r2)}}-graphtraversalofthedisplay(clanguagecurriculumdesigndatastructuresthat)/*definitionofthemap*/typedefstructV(intint[M]R[M][M])intvexnumGraph/*createmap*/voidcreatgraph(Graph*g,intn)(inti,j,r1,r2g--IMDN开发者社群-imdn.cn"> R[r1][r2]=1g->R[r2][r1]=1scanf("%d,%d",&r1,&r2)}}-graphtraversalofthedisplay(clanguagecurriculumdesigndatastructuresthat)/*definitionofthemap*/typedefstructV(intint[M]R[M][M])intvexnumGraph/*createmap*/voidcreatgraph(Graph*g,intn)(inti,j,r1,r2g- - IMDN开发者社群-imdn.cn">
登录
首页 » Windows核心 » graph traversal of the display (c language curriculum design data structures tha...

graph traversal of the display (c language curriculum design data structures tha...

于 2023-05-29 发布 文件大小:1.37 kB
0 135
下载积分: 2 下载次数: 1

代码说明:

图的遍历的演示(c 语言 数据结构课程设计题) /*定义图*/ typedef struct{ int V[M] int R[M][M] int vexnum }Graph /*创建图*/ void creatgraph(Graph *g,int n) { int i,j,r1,r2 g->vexnum=n /*顶点用i表示*/ for(i=1 iV[i]=i } /*初始化R*/ for(i=1 iR[r1][r2]=1 g->R[r2][r1]=1 scanf("%d,%d",&r1,&r2) } } -graph traversal of the display (c language curriculum design data structures that)/* definition of the map*/typedef s truct V (int int [M] R [M] [M]) int vexnum Graph/* create map*/void creatgraph (Graph* g, int n) (int i, j, r1, r2 g-

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 测试MOUSE的程序
    测试MOUSE的程序-testing procedures MOUSE
    2022-03-21 20:46:05下载
    积分:1
  • Communication Programming Debugging tool tracking procedures
    通信编程的调试跟踪工具程序-Communication Programming Debugging tool tracking procedures
    2023-05-27 15:45:04下载
    积分:1
  • VC6高级编程范例第六章――高级编程
    VC6高级编程范例第六章――高级编程-VC6 high-level programming paradigm Chapter VI-- Advanced Programming
    2022-10-03 18:30:03下载
    积分:1
  • 2022-02-21 09:16:46下载
    积分:1
  • Perl achieve GUN Make functional stringent than the cygwin make more functional...
    Perl实现的GUN Make,功能严谨,比cygwin的make功能多,支持Windows,编译C++程序必备.-Perl achieve GUN Make functional stringent than the cygwin make more functional support for Windows, C compiler required procedures.
    2022-01-26 00:29:26下载
    积分:1
  • 统计桔子用的一个软件,可以给大家做参考,很好用的!! 解压密码:vbsoft.icpcn.com...
    统计桔子用的一个软件,可以给大家做参考,很好用的!! 解压密码:vbsoft.icpcn.com -statistics of a software, you can refer to good use! ! Extracting Password : vbsoft.icpcn.com
    2023-08-30 15:00:03下载
    积分:1
  • 这是个用DELPHI+SQL开发的订货管理系统,能满足一般的订货需要,功能基本上都具备的...
    这是个用DELPHI+SQL开发的订货管理系统,能满足一般的订货需要,功能基本上都具备的-This is a SQL development with Delphi orders management system that can meet the needs of the general orders, functions basically have the
    2023-04-14 13:25:03下载
    积分:1
  • 程序名称:虚拟桌面:2005_4_17_16:00 1的虚拟桌面…
    程 序 名:虚 拟 桌 面 说 明: 2005_4_17_16:00 一、实现虚拟桌面功能的主要程序代码模块有: (一)、窗体 1、主控制窗体 - 虚拟桌面(frmVirDesktop.frm) (二)、模块 1、切换桌面的模块(MChangeDesktop.bas) 2、注册热键的模块(MHotKey.bas) (三)、类模块 1、调用 Windows 对话框的类(CComDlg.cls) 2、注册热键的类(CHotKey.cls) 3、更换桌面壁纸类(CChangeWallPaper.cls)-procedures Name : Virtual Desktop : 2005_4_17_16 : 00 1, virtual desktop of the main functions of code modules are : (a), Form 1, Main Control Window-Virtual Desktop (frmVirDesktop.frm) (2), a module, Desktop Switch Module (MChangeDesktop.bas) 2. Registration hotkeys module (MHotKey.bas) (3), a module type, Calling Windows dialog class (CComDlg.cls) 2. Class registration hotkeys (CHotKey.cls) 3 replacement of desktop wallpaper category (CChangeWallPaper.cls)
    2022-04-14 16:53:39下载
    积分:1
  • I look at some on
    本人在网上搜罗过一些与关机有的代码,发现关机的代码差不多都一样,而对关机前的特效的代码几科没有,只有一个WIN2000的,其方法如:制造一个刷子,用灰色刷屏幕!以下这部分为网上的一个老版本的关机效果代码,不是很好-I look at some on-line and off some code, the code found off almost the same, and right before turning off the effects of several branches no code, only a WIN2000, and its methods as : manufacturing a brush. Brush with gray screen! Following this into an online version of the old code shutdown effect is not good
    2022-01-23 10:25:45下载
    积分:1
  • 队列实现的函数算法!
    队列实现的函数算法!-queue algorithm to achieve the function!
    2022-03-06 02:49:12下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载