includestddefh>typedefstruct{unsignedintarray[2];unsignedinta;unsignedcharb;unsignedintc;unsigned
includeiostreamh>classanimal{public:animal(){couthellokittyendl;}virtualvoideat(){couteatbianbian
方法:先继承类然后映射函数。includeiostreamh>classanimal{public:animal(charthename);};animal::animal(charthenam
includeiostreamh>classanimal{public:animal(){coutanimalconstructendl;}~animal(){coutconstructanim
includestm32f10xhincludeledhincludestdioh>*******************************************************
includestm32f10xhincludeusarthincludeledhincludestdioh>******************************************