第十二章 繼承與多型
子類別建立 繼承(Inherits)為物件導向程式很重要的機… Read more »
子類別建立 繼承(Inherits)為物件導向程式很重要的機… Read more »
建構子(Constructor) 建構子為類別中的特殊方法,… Read more »
類別介紹 類別為struct的延伸, 裏面的變數稱為屬性, … Read more »
處理類別 C++處理檔案的類別為ifstream(檔案輸入)… Read more »
列舉 把一些數值用字串表示, 方便記憶, 並設定某個變數只能… Read more »
位址 每byte都有一個位址 & : 取址運算子,陣… Read more »
函式 Basic中,無傳回值叫副程式,有傳回值叫函數。但C統… Read more »
使用 Java 控製 GPIO 是個好選項,但近來 Java… Read more »
while 語法 : while(條件式){} while的… Read more »
單向選擇 if(條件式){} : 條件式運算出 true o… Read more »