代码搜索:Graph
找到约 10,000 项符合「Graph」的源代码
代码结果 10,000
www.eeworm.com/read/400705/11570136
cpp song.cpp
// song.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "stdio.h"
typedef int datatype; /*假定线性表元素的类型为整型*/
#define maxsize 1024 /*假定线性表的最大长度为1024*/
www.eeworm.com/read/348108/11611822
cs imediacontrol.cs
namespace dshow.Core
{
using System;
using System.Runtime.InteropServices;
// IMediaControl interface
//
// The IMediaControl interface provides methods for controlling
// the flow of d
www.eeworm.com/read/348108/11611843
cs ifiltergraph.cs
namespace dshow.Core
{
using System;
using System.Runtime.InteropServices;
// IFilterGraph interface
//
// The IFilterGraph interface is an abstraction representing
// a graph of filter
www.eeworm.com/read/261765/11624916
c main1.c
/*the main function,use to test the graph's storage */
#include
#include
#include
#include
/*It's used to output a line of star*/
void printstar()
{
www.eeworm.com/read/261765/11624940
c main2.c
/*the main function,use to test the graph's storage */
#include
#include
#include
#include
/*It's used to output a line of star*/
void printstar()
{
www.eeworm.com/read/261501/11641267
txt 创建图.txt
/*创建图*/
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;i
www.eeworm.com/read/261501/11641274
txt 图的遍历的演示.txt
/* 标准文档模板 */
#include "Stdio.h"
#include "Conio.h"
#define M 20
#include
#include
/*定义图*/
typedef struct{
int V[M];
int R[M][M];
int vexnum;
}Graph;
www.eeworm.com/read/261501/11641277
txt 打印图的邻接矩阵.txt
/*打印图的邻接矩阵*/
void printgraph(Graph *g)
{
int i,j;
for(i=1;ivexnum;i++)
{ for(j=1;jvexnum;j++)
{
printf("%2d ",g->R[i][j]);
}
printf("\n");
}
}
/*全
www.eeworm.com/read/261501/11641283
txt 深度递归遍历.txt
/*深度递归遍历*/
void dfs(Graph *g,int vex)
{
int w;
visited[vex]=1;
visitvex(g,vex);
for(w=firstadjvex(g,vex);w>0;w=nextadjvex(g,vex,w))
if(!visited[w])
{
www.eeworm.com/read/261253/11657111
txt 新建 文本文档 (10).txt
图的遍历的演示(c 语言 数据结构课程设计题)
#define M 20
#include
#include
#include
/*定义图*/
typedef struct{
int V[M];
int R[M][M];
int vexnum;
}Graph;
/*创建图*/
void cr