类1
摘要:
请看下面的类及其调用:#include <iostream>using namespace std;class CBox{private: float m_long,m_width,m_height; void mytest() { cout<<endl <<m_long <<endl; }public: void testcall(); CBox(float lv,float wv=0,float hv=0):m_long(lv),m_width(wv),m_height(hv) { ... 阅读全文
posted @ 2011-09-06 15:48 天上星 阅读(275) 评论(0) 推荐(0) 编辑