关于转换
摘要:
class MyDaugter: public MyBase{ public : MyDaugter(string name2); private: string name2;}; string dtname="xiaofang"; MyDaugter dt=dtname;可以直接使用赋值运算符,那么两个参数呢,不可以!!! 阅读全文
posted @ 2013-07-29 17:00 shoutcharter 阅读(171) 评论(0) 推荐(0) 编辑