02 2017 档案
摘要://仿函数是一个类的对象,这个对象 具有函数的功能 (函数对象) bool MyComp(int x, int y) { //return x > y; return false; } template<typename T> class _less { public: bool operator
阅读全文
摘要:#ifndef __C_BOOK_H__ #define __C_BOOK_H__ #include #include using namespace std; #define NUM1 128 #define NUM2 50 class c_Book { public: c_Book(); c_Book(string cName,string cIsbn, string...
阅读全文

浙公网安备 33010602011771号