⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stdafx.h

📁 this is the code for finding a shortedpath in graph in althorithm
💻 H
字号:
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once


#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers
#include <stdio.h>
#include <tchar.h>

#include<iostream>
#include<vector>
#include<stdlib.h>
#include<conio.h>
#include<fstream>
using namespace std;

class dijkstra
{
private:
	//vector<int> graph[10];
	//int set[15];
	int graph[10][10];
	int Nhan[15];
	int mark[15];
	int DoDai[15];
	int source;
	int destination;
	int num_of_vertices;
public:
	int minimum();
	void read(char* filename);
	void initialize();
	void printpath(int);
	void algorithm();
	void output();
};
// TODO: reference additional headers your program requires here

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -