C++ --------const的使用

  以一段代碼來講明函數   class Byte{ unsigned uchar b; public: Byte(uchar b1=0):b(b1){} //+ const Byte operator +(const Byte &right) const{ return Byte(b+right.b); } //賦值 Byte& operator =(const Byte &right){ if
相關文章
相關標籤/搜索