• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Nomore
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2015年3月9日

cpp面向对象编程的简单实例 用于简单的复数
摘要: #include using namespace std;class Complex {public: Complex(int a,int b) {re=a;im=b;}; Complex (float a){ storea=a;}; void add(Complex p) { re+=... 阅读全文
posted @ 2015-03-09 22:32 Nomore 阅读(197) 评论(0) 推荐(0)
 
cpp面向对象编程的简单实例 用于简单的复数
摘要: #include using namespace std;class Complex {public: Complex(int a,int b) {re=a;im=b;}; Complex (float a){ storea=a;}; void add(Complex p) { re+=... 阅读全文
posted @ 2015-03-09 22:24 Nomore 阅读(51) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3