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

📄 0712201.cpp

📁 That is source code for DijKstra Algo
💻 CPP
字号:
// 0712201.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream>
#include "DoThi.h"

int main(int argc, char* argv[])
{
	if(argc == 3)
	{
		char *in = argv[1];
		char *out = argv[2];

		FILE *f, *ff;
		f = fopen(in, "rt");
		ff = fopen(out, "wt");

		if(!f || !ff)
		{
			cout<<"Khong mo duoc file!\n";
			exit(1);
		}
		
		CDoThi H;

		H.DocDoThi(in);

		H.Tim_3_DuongDiNganNhat(ff, H.GetDinhDau(), H.GetDinhCuoi());
		fcloseall();
	}
	
	else
		cout<<"Tham so dong lenh nhan sai!\n";

	return 0;
}

⌨️ 快捷键说明

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