摘要: 假设有一个Date类 Date.h class Date { private: int year, month, day; }; 如果有个Task类的定义要用到Date类,有两种写法 其一 Task1.h class Date; class Task1 { public: Date getData( 阅读全文
posted @ 2016-11-10 22:46 ZYVV 阅读(542) 评论(0) 推荐(0) 编辑