摘要: #include<iostream>#include<conio.h>#include<windows.h>#include<cstdlib>using namespace std;class Protocol //定义一个协议类 {public: Protocol(int m,int c,int n); //协议类的构造函数 void Sender(); //发送方函数 bool Reciever(); //接收方函数 private: int MAXSIZE; //定义发送窗口 int count; //定义一个在程序中用到的辅助计数变量 i 阅读全文
posted @ 2011-10-04 10:38 DanceWolf 阅读(714) 评论(0) 推荐(0)