C++進階 -類中成員和成員函數的動態調用

#include <iostream> using namespace std; class Transport { public: Transport(double s,double w) { Speed=s; Weight=w; } virtual ~Transport() { cout<<"in ~Transport!"<<endl; } void Move() { cout<<"in mo
相關文章
相關標籤/搜索