摘要: 今天在看《windows网络与通信程序设计》,按照书上的例子输入了一个程序,编译结果提示: Cannot open include file: 'iphlpapi.h': No such file or directory 好不容易在网上找到了iphlpapi.h文件,结果又提示:can not open file 'IPHlpApi.Lib' 又是一头雾水,说要安装什么SDK,找了半天,找到一个可以用的连接,在下面贴出来:http://apps.hi.baidu.com/share/detail/18952922 安装上面的方法就可以完全安装SDK了。另外关于 阅读全文
posted @ 2013-02-16 22:09 怪人Kook 阅读(1371) 评论(0) 推荐(0) 编辑
摘要: ostringstream是C++的一个字符集操作模板类,定义在sstream.h头文件中。ostringstream类通常用于执行C风格的串流的输出操作,格式化字符串,避免申请大量的缓冲区,替代sprintf。派生关系图:ios_baseiosostreamostringstreamostringstream的构造函数形式:1 explicit ostringstream ( openmode which = ios_base::out );2 explicit ostringstream ( const string & str, openmode which = ios_base 阅读全文
posted @ 2013-02-16 22:01 怪人Kook 阅读(3359) 评论(0) 推荐(0) 编辑