作者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