- 博客(5)
- 资源 (2)
- 收藏
- 关注
原创 mem_fun和boost::Bind使用
标准库算法for_each和boost库中Bind使用方法:#include #include #include #include using namespace std;class Shape{public: virtual void draw() { cout<<"Shap::draw"<<endl; }};class Circle :
2013-09-29 17:10:54
528
转载 Mingw编译Boost库
一、BoostBoost库是一个可移植、提供源代码的C++库,作为标准库的后备,是C++标准化进程的发动机之一。其官方网站为http://www.boost.org/,目前最新版本为1.46.0,以下以此版本为准。Boost库大部分的子库都是C++模版提供,大部分情况下直接包含头文件就可以了。其中部分子库需要编译,如下图所示:上图中bjam.exe是boost提供的编译工具,下面会
2013-09-18 11:03:01
629
转载 ZOJ Problem Set - 1003 Crashing Balloon
On every June 1st, the Children's Day, there will be a game named "crashing balloon" on TV. The rule is very simple. On the ground there are 100 labeled balloons, with the numbers 1 to 100. After t
2013-08-30 10:33:30
768
原创 ZOJ Problem Set - 1002 Fire net
Suppose that we have a square city with straight streets. A map of a city is a squareboard with n rows and n columns, each representing a street or a piece of wall.A blockhouse is a small castle tha
2013-08-29 19:18:12
670
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人