C++對象初始化

#ifndef TDATE_H_INCLUDED #define TDATE_H_INCLUDED #include<iostream> class TDate{ public: TDate(int y,int m,int d); ~TDate(); void Print(); private: int year,month,day; }; //構造器 TDate
相關文章
相關標籤/搜索