实验4
摘要:#include <iostream> #include "graph.h" using namespace std; int main() { Graph graph1('*',5), graph2('$',7) ; // 定义Graph类对象graph1, graph2 graph1.draw(
阅读全文
posted @
2018-04-23 22:24
ikazuchi
阅读(190)
推荐(0)
实验3
摘要:#include<iostream> using namespace std; class square { public: square(int x1,int y1); //x1,x2为自定义长宽 int getchang() {return x;} //用于输出长 int getkuan() {
阅读全文
posted @
2018-04-07 19:50
ikazuchi
阅读(180)
推荐(0)