摘要:
#include <iostream> using namespace std; class Rectangle {public: Rectangle(int top, int left, int bottom, int right); ~Rectangle(){} int getTop() con 阅读全文
摘要:
#include<iostream> using namespace std; class CPolygon{ protected: int width,height; public: void set_values(int a,int b) {width=a;height=b;} }; class 阅读全文