Re: 請教c++的類別
※ 引述《quota@kkcity.com.tw (我要出清)》之銘言:
: 第一個例子
: cout << endl
: << "Volume of box2 ="
: << box2.m_Height+ box2.m_Length+ box2.m_Breadth;
: 第二個例子
: double Volume()
: {
: return m_Length*m_Breadth*m_Height;
: }
................ ̄▽ ̄a (抱歉 但忍不住想用這個表情符號...)
--
"LPH" is for "Let Program Heal us"....
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 192.192.197.112
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):