11 2015 档案

摘要://编写类的构造函数、析构函数和赋值函数class String{public: String(const char *str=NULL);//普通构造函数 String(const String &other);//拷贝构造函数 ~String();//析构函数 String &operate=(... 阅读全文
posted @ 2015-11-22 20:55 del_le 阅读(325) 评论(0) 推荐(0) 编辑
摘要://通过使用IP Helpers API获取本地网络适配器信息//获取信息包括:网络适配器名、网络适配器描述、MAC地址、IP地址、子网掩码、网关、是否启动DHCP#include "stdafx.h"#include "iostream"#include "winsock2.h"#include ... 阅读全文
posted @ 2015-11-18 23:18 del_le 阅读(362) 评论(0) 推荐(0) 编辑