会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
比比official
2019年4月23日
实验3
摘要: part2 #ifndef GRAPH_H #define GRAPH_H // 类Graph的声明 class Graph { public: Graph(char ch, int n); // 带有参数的构造函数 void draw(); // 绘制图形 private: char symbol
阅读全文
posted @ 2019-04-23 23:35 比比offical
阅读(61)
评论(0)
推荐(0)
编辑
2019年4月2日
练习
摘要: #include #include using namespace std; class Complex {public: Complex(double a,double b); Complex(double c); Complex(Complex &p); void add(Complex t); void show(); double mod(); priva...
阅读全文
posted @ 2019-04-02 23:28 比比offical
阅读(81)
评论(0)
推荐(0)
编辑
2019年3月26日
实验2
摘要: 1.重载函数 #include<iostream>using namespace std;struct complex{ double real; double imaginary;};int add(int ,int );double add(double ,double );complex ad
阅读全文
posted @ 2019-03-26 22:33 比比offical
阅读(120)
评论(2)
推荐(0)
编辑
2019年3月19日
实验1
摘要: #include using namespace std; int main() {char a; while(true) { cout>a; if(a=='A') {cout using namespace std; int main() { char a; cout>a; switch(a) { case 'A':{cout #include using na...
阅读全文
posted @ 2019-03-19 22:11 比比offical
阅读(152)
评论(2)
推荐(0)
编辑
公告
导航
博客园
首页
新随笔
新文章
联系
订阅
管理