计算机网络——RIP协议距离向量算法

#include<iostream> #include<ctime> #include<algorithm> using namespace std; bool Rout[12]; struct Net { int d, nextR; Net() {//构造函数:初始距离为17不存在,且没有下一跳 d = 17; nextR = -1; } }; struct Router {//路由
相关文章
相关标签/搜索