05 2011 档案

摘要://z 2011-05-30 15:34:47@is2120.CSDN 转载请注明出处 http://blog.csdn.net/is2120/archive/2011/05/30/6454840.aspx 在vc6环境下,使用stlport时,会出现 error C2653: ‘_STLP... 阅读全文
posted @ 2011-05-30 15:29 BiG5 阅读(186) 评论(0) 推荐(0)
摘要://z 2011-05-23 21:15:30@is2120 让 gvim TOhtml 支持中文。 找到配置文件加入以下: let g:html_use_css = 0 let g:html_use_encoding = "gb2312" let g:html_use_xhtml = ... 阅读全文
posted @ 2011-05-23 21:12 BiG5 阅读(157) 评论(0) 推荐(0)
摘要:一个服务器,接受客户连接,返回客户IP地址,并关闭连接。 一个服务器程序的基本步骤: 1. winsock library 的初始化 2. 创建socket 3. 服务器地址 4. bind->listen 5. 等待客户连接 accept 6. 处理客户接入 7. 关闭 socket 8.... 阅读全文
posted @ 2011-05-22 21:26 BiG5 阅读(205) 评论(0) 推荐(0)
摘要:Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 ... 阅读全文
posted @ 2011-05-22 17:17 BiG5 阅读(152) 评论(0) 推荐(0)
摘要://z 2011-05-21 9:13:15@is2120 关于分布式系统共享session数据的方式的问题 http://groups.google.com/group/dev4server/browse_thread/thread/22b9bc5fe38ef6d9?hl=zh-CN 2.... 阅读全文
posted @ 2011-05-21 09:12 BiG5 阅读(170) 评论(0) 推荐(0)
摘要:[转]高负载高并发应用 参考资料索引 //z 2011-05-21 9:13:15@is2120 1.Linux 集群 http://www.ibm.com/developerworks/cn/linux/theme/cluster.html 2.Linux 集群大全 -- 哪种... 阅读全文
posted @ 2011-05-21 09:10 BiG5 阅读(215) 评论(0) 推荐(0)
摘要:题目:在A[1000]中存放了1-999之间的元素,只有一对元素是相同的,找出该元素 http://blog.csdn.net/is2120/archive/2011/05/19/6431125.aspx //z 2011-05-19 8:44:34@is2120 0 暴力 @i... 阅读全文
posted @ 2011-05-19 08:40 BiG5 阅读(152) 评论(0) 推荐(0)
摘要:assert vs. ASSERT(mfc) 区别 1. 首先 assert 是c标准里的一个宏,而ASSERT是MFC的一个宏。 2. assert 可以通过 NDEBUG 来关闭。 3. assert 在 debug 版本和 release 版本里都可用,另... 阅读全文
posted @ 2011-05-18 22:31 BiG5 阅读(151) 评论(0) 推荐(0)
摘要:@is2120 1. 在 c++ 中删除一个 NULL pointer (空指针)是安全的 2. 标准中相关内容如下: "In either alternative, if the value of the operand of delete is the null pointer the o... 阅读全文
posted @ 2011-05-15 09:49 BiG5 阅读(338) 评论(0) 推荐(0)
摘要://z 2011-05-10 20:04:52@is2120 http://blog.csdn.net/is2120/archive/2011/05/10/6410096.aspx tag: c++ typeid 实现 使用 用法 typeid是什么? 是c++的一个操作符,用于获取一个表达... 阅读全文
posted @ 2011-05-10 20:37 BiG5 阅读(376) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/is2120/archive/2011/05/02/6385304.aspx 在用 VS2010 (vc2010)的cl.exe编译如下代码( boost asio 示例 )时,总是出现 throw_exception unresolved (link e... 阅读全文
posted @ 2011-05-02 23:34 BiG5 阅读(773) 评论(0) 推荐(0)