c++
wegatron
这个作者很懒,什么都没留下…
展开
-
TODO写一个c++的红黑树模板
这几天看了红黑树,确实有些复杂。要是有用的时候都重新写是比较麻烦,而c++STL又没有提供树结构。所以决定自己写一个,由于最近比较忙,所以这个就放到任务队列吧!原创 2013-03-17 15:19:14 · 393 阅读 · 0 评论 -
windows mingw boost setting
安装Mingw64,msys,cmake.按照boost的guide用编译boost:如果已经安装vs则可以5.2.1 Install Boost.BuildBoost.Build is a text-based system for developing, testing, and installing software. First, you'll need t原创 2014-03-10 09:25:16 · 476 阅读 · 0 评论 -
Name Mangling in C++
Name Mangling(C++)Author: Chaos LeeDate: 2012/05/06摘要:详细介绍了C++中的Name Mangling的原理和gcc中对应的实现,通过程序代码和nm c++filt等工具来验证这些原理。对于详细了解程序的链接过程有一定的帮助。Name Mangling概述大型程序是通过多个模块构建而成,模块之间的关系由ma转载 2014-03-22 21:25:43 · 461 阅读 · 0 评论 -
boost signal 实例以及延展
boost::signals2::signal 主要用来发射一个信号,然后由y原创 2014-11-16 15:34:54 · 289 阅读 · 0 评论 -
valgrind memorycheck基本使用
Reference:http://valgrind.org/docs/manual/mc-manual.html : valgrind command line usagehttps://wiki.wxwidgets.org/Valgrind_Suppression_File_Howto : 如何写一个suppression file命令解析valgrind --mem原创 2015-01-08 18:45:03 · 575 阅读 · 0 评论 -
A trim implementation for std::string
IntroductionThe C++ Standard Template Library (STL, for short) provides the handy std::string class, which provides a lot of common string facilities. However, the well-known trim operation was转载 2014-12-28 10:48:53 · 205 阅读 · 0 评论