摘要:
我们如何能在c++中使用set来保存char*/const char*呢?答案是提供定制的template argument -> Compare.#include #include struct strless : public std::binary_function{ bool operator()(const char* s1, const char* s2) const { ... 阅读全文
摘要:
from http://blog.csdn.net/psyl/archive/2006/03/17/627496.aspx 我要从徐家汇赶去机场,于是匆匆结束了一个会议,在美罗大厦前搜索出租车。一辆大众发现了我,非常专业的、径直的停在我的面前。这一停,于 是有了后面的这个让我深感震撼的故事,象上了一堂生动的MBA案例课。为了忠实于这名出租车司机的原意,我凭记忆尽量重复他原来的话。 “... 阅读全文