摘要:        
/* 为了简单起见都采用单文件和public mv(member variable)形式*/ #include #include #include using namespace std; //////////////////////////////////////////////////////////////////////////class CAge: public CObject{pu...    阅读全文
        
            posted @ 2005-12-17 23:04
->
阅读(396)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
原型:[virtual]void CObject::AssertValid() const //说明:该成员函数只能对成员变量做"引用型"操作,不能做"加工型"操作{ASSERT(this != NULL);}MSDN:When you write your own class, you should override the AssertValid function to provide dia...    阅读全文
        
            posted @ 2005-12-17 18:26
->
阅读(426)
评论(0)
推荐(0)
        
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号