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

📄 reep.cpp

📁 传感器网络的可靠路由算法
💻 CPP
字号:
// REEP.cpp : Defines the entry point for the console application.
//This file is the entry of the whole program 

#include "stdafx.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "Network.h"
//#include <windows.h>
//#include <time.h>
//#include<dos.h>

//#include <wtypes.h>
//#include <winbase.h>
//#include <unistd.h>


#include <sys/types.h>
#include <stdarg.h>

#define MAX_BUFF_LENGHT 255

extern NETWORK_TYPE net;

extern bool BlankLine(char String[]);


void main()
{
    

	FILE *stream ;
    //sleep(200);
	if((stream = freopen("MH_A_new.txt", "w", stdout)) == NULL)
    exit(-1);

	NetworkInit("C.in"); 
	
    startSimulation();		 

}

⌨️ 快捷键说明

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