会员
周边
新闻
博问
闪存
众包
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
么训
博客园
首页
新随笔
联系
订阅
管理
06 2017 档案
const对象的使用
摘要:调用const对象的函数时应将函数定义为 * *()const{} 例如: #include<iostream.h>class complex{public: complex(double a,double b):real(a),imag(b) {} complex(){} friend compl
阅读全文
posted @
2017-06-02 15:08
么训
阅读(636)
评论(0)
推荐(0)