04 2018 档案
摘要:1 #ifndef GRAPH_H 2 #define GRAPH_H 3 4 // 类Graph的声明 5 class Graph { 6 public: 7 Graph(char ch, int n); // 带有参数的构造函数 8 void draw(); // 绘制图形 9 void cha
阅读全文
摘要:知识点: 步骤: 1.以如图页面实例说明如何写出微信文本内容 <image src="/images/342564-106.jpg" style=""></image> <text>电影周周看</text> <text>每周推荐一部好片</text> <text>我的博客:https://home.
阅读全文
摘要:1.定义一个矩形类,有长,宽两个属性,有成员函数计算矩形的面积。 在该矩形类中,我做了5个主要的测试。 1 #include<iostream> 2 using namespace std; 3 class rectangle{ 4 public: 5 rectangle(double x=2.0,
阅读全文

浙公网安备 33010602011771号