摘要:
#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 ... 阅读全文
posted @ 2015-06-25 17:51
潘探
阅读(815)
评论(0)
推荐(0)
摘要:
#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 ... 阅读全文
posted @ 2015-06-25 16:31
潘探
阅读(150)
评论(0)
推荐(0)

浙公网安备 33010602011771号