摘要: 每次使用这几个算法时都要去查CPP reference,为了能够加深印象,整理一下基本应用。 cout/cout_if: return the number of elements satisfying the condition. count( InputIt first, InputIt las 阅读全文
posted @ 2017-02-08 18:14 奔跑的河马 阅读(2051) 评论(0) 推荐(0) 编辑
摘要: 声明了一个类 class Card { public: Card(const string&); int m_value; char m_suit; private: const static map<char, int> m_map; }; const map<char, int> Card::m 阅读全文
posted @ 2017-02-08 15:47 奔跑的河马 阅读(20826) 评论(1) 推荐(0) 编辑