第十一章 物件導向封裝(二)
建構子(Constructor) 建構子為類別中的特殊方法,… 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 »
運算元、運算子與運算式 運算式由運算元跟運算子組合而成 運算… Read more »