作者LPH66 (涼宮春日症候群)
看板Programming
標題Re: 請教c++的類別
時間Fri Oct 27 20:47:51 2006
※ 引述《[email protected] (我要出清)》之銘言:
: 第一個例子
: 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