摘要:
#includeusing namespace std;template T max(T a, T b){ return a > b ? a : b;}int main(int argc,char* argv[]){ int x = 10; int y = 20; cout > x; return ... 阅读全文
摘要:
#include#include#includeusing namespace std;class A{public: A(int x, int y) :m_x(x), m_y(y) { } int compare(void) { cout m_y) return 1; return ... 阅读全文