用指向基類物件的指標輸出資料

gudesheng發表於2008-01-03
#include"stdafx.h"#include<iostream>#include<string>usingnamespacestd;classstudent{private: intnum; intage; floatscore;public: student(int,int,float); voiddisplay();};//定義建構函式student::student(intn,

相關文章