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 192
下载积分: 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 个回复

  • 一个C++表格类
    一个C++表格类-a Class C forms
    2022-01-23 10:06:03下载
    积分:1
  • windows+vb+maxp最短距离,完全通过调试
    windows+vb+maxp最短距离,完全通过调试-windows+ vb+ maxp shortest distance, entirely through the debugger
    2022-03-12 22:54:58下载
    积分:1
  • 用vb实现ping功能,调用 windows dll 和 注册表,源代码非控件。可以学习如何使用动态链接库和注册表。...
    用vb实现ping功能,调用 windows dll 和 注册表,源代码非控件。可以学习如何使用动态链接库和注册表。-with vb achieve ping function, and call windows dll registry, non-source code control. Learn how to use the dynamic link library and the registry.
    2022-06-26 20:00:58下载
    积分:1
  • This is on the use of 51 single
    这是关于用51单片机进行软件定时中断的程序,主芯片是51-This is on the use of 51 single-chip microcomputer software program interrupted from time to time, the main chip is 51
    2023-01-03 06:45:03下载
    积分:1
  • 一个多线程文件查找程序
    一个多线程文件查找程序-a multithreaded file search procedures
    2023-03-20 11:55:03下载
    积分:1
  • 用于人事工资管理,适用于中小型企业,绝对好用
    用于人事工资管理,适用于中小型企业,绝对好用-Wages for personnel management, applicable to small and medium enterprises, the absolute ease of use
    2022-05-17 15:43:07下载
    积分:1
  • use Caps Lock keys alternative Ctrl keys of the source.
    利用Caps Lock键替代Ctrl键的源程序。-use Caps Lock keys alternative Ctrl keys of the source.
    2022-07-05 09:20:12下载
    积分:1
  • windows 消息监视小程序,可以监视进程窗口的消息,非常不错。 vc6.0里提供有的,这里是源码...
    windows 消息监视小程序,可以监视进程窗口的消息,非常不错。 vc6.0里提供有的,这里是源码-windows source surveillance of small procedures, the process window can monitor the news, very good. provide vc6.0 Yes, here is the source
    2022-12-04 21:50:02下载
    积分:1
  • 捕捉拍频 * 捕捉拍频功能仅在拍子停止时可用。 * 以一定节奏连纽按动Tap按钮两下或更多,Tempo会自动对应于按动的拍频。 * 连续2秒没有按动...
    捕捉拍频 * 捕捉拍频功能仅在拍子停止时可用。 * 以一定节奏连纽按动Tap按钮两下或更多,Tempo会自动对应于按动的拍频。 * 连续2秒没有按动Tap,或启动拍子,则上次按动的记录将被清除,并在下次按动时重新记算拍频。 * 拍频将以连续按下的拍子间隔,以一定算法进行统计,得出近似值。 调节音量 * 拖动Volume框中的滑条即可调节音量,向左拖动使音量减小,向右拖动反之。 * 最小音量为静音,最大音量为拍音的原音量。 运行模式 * 选择Rum mode中的Performace为性能优先模式,选中Precision为精度优先模式。 * Perfomance模式下,启动拍子后程序占用系统资源极少,但精度不能完全保证。在系统性能良好时,误差不超过每拍0.015秒,但在系统性能低下时误差可能会相当大。 * Precision模式下,程序采用了高端的计时技术,保证误差在每拍十万分之一秒之内,且几乎不受系统性能影响,但此模式极占系统资源,以至于您可能在打拍子的同时无法运行其它程序。 * 一般情况下不推荐使用Precision模式,除非您有相当高的精度要求。-capture beat frequency* Beat capture function only when the racket can be stopped.* Even in a certain rhythm Tap button activated the New Zealand under two or more, Tempo will be automatically activated corresponding to the beat frequency.* Continuous two seconds not squeezed Tap, or commencement of the beat was last pressed the record will be cleared and the next re-activated in mind when counting beats.* Beat will be in charge of press row spacing, to a certain statistical algorith
    2022-01-26 06:39:54下载
    积分:1
  • 工作
    Job-scheduler is a program that schedules programs to be run at their specified times. It gives users several options for scheduling programs. You can use telnet program to connect to the port job-scheduler is listenning for incomming connections on the host computer. Then you can get information about the current scheduled jobs, add, stop or start jobs or kill the job-scheduler program. Job-scheduler can also load input files which contain information about some jobs to be scheduled. - Job-scheduler is a program that schedules programs to be run at their specified times. It gives users several options for scheduling programs. You can use telnet program to connect to the port job-scheduler is listenning for incomming connections on the host computer. Then you can get information about the current scheduled jobs, add, stop or start jobs or kill the job-scheduler program. Job-scheduler can also load input files which contain information about some jobs to be scheduled
    2022-05-26 10:38:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载