摘要:
// overload_date.cpp// compile with: /EHsc#include <iostream>using namespace std;class Date{ int mo, da, yr;public: Date(int m, int d, int y) { mo = m; da = d; yr = y; } friend ostream& operator<<(ostream& os, const Date& dt);};ostream& operator<<(ostream& os, c 阅读全文
posted @ 2012-09-19 16:24
Dsp Tian
阅读(483)
评论(0)
推荐(0)

浙公网安备 33010602011771号