摘要: static_cast<>揭密作者:Sam NG 译者:小刀人 原文链接:What static_cast<> is actually doing本文讨论static_cas... 阅读全文
posted @ 2010-06-07 23:06 Binhua Liu 阅读(2703) 评论(0) 推荐(0) 编辑
摘要: C++字符串完全指引之二 —— 字符串封装类原著:Michael Dunn作者:Chengjie Sun原文出处:CodeProject:The Complete Guide to C++ Strings, Part II 引言  因为C语言风格的字符串容易出错且不易管理,黑客们甚至利用可能存在的缓冲区溢出bug把C语言风格的字符串作为攻击目标,所以出现了很多字符串封装类。... 阅读全文
posted @ 2010-06-07 18:46 Binhua Liu 阅读(1514) 评论(0) 推荐(0) 编辑
摘要: C++字符串完全指引之一 —— Win32 字符编码原著:Michael Dunn翻译:Chengjie Sun原文出处:CodeProject:The Complete Guide to C++ Strings, Part I 引言  毫无疑问,我们都看到过像 TCHAR, std::string, BSTR 等各种各样的字符串类型,还有那些以 _tcs 开头的奇怪的宏。... 阅读全文
posted @ 2010-06-07 18:25 Binhua Liu 阅读(1689) 评论(0) 推荐(0) 编辑
摘要: STL vector 容器介绍 A Presentation of the STL Vector Container (By Nitron) 翻译 masterlee 介绍std::vector,并且讨论它在STL中的算法和条件函数remove_if()。 Download Console Demo - 6.19 Kb Download MFC Demo - 14.6 Kb 介绍 这篇文章的目... 阅读全文
posted @ 2010-06-05 17:54 Binhua Liu 阅读(1720) 评论(0) 推荐(0) 编辑