2018年1月2日

CRC校验

摘要: #include #include using namespace std; //二进制数的异或 //余数覆盖原本被除数的位置 void strxor(char p[], char m[],int n,int j) { int i = 0; for(i = 0; i >M>>P; //P的长度为length_P,在M后添加length_P-1个0 ... 阅读全文

posted @ 2018-01-02 19:33 无果分飞 阅读(226) 评论(0) 推荐(0) 编辑

获取本机mac地址

摘要: #include //该头文件定义了Socket编程的功能 #include //该头文件声明了输入输出流函数 #include //该头文件定义了一些通用函数 #include //该头文件支持HTTP请求 #include //该头文件定义了Windows的所有数据基本型态 #include //该头文件声明了netbios的所有的函数 ... 阅读全文

posted @ 2018-01-02 19:31 无果分飞 阅读(2255) 评论(0) 推荐(0) 编辑

导航