指向class的指针使用方法实例 // pointer to classes example#include <iostream>using namespace std;class Rectangle { int width, height;public: Rectangle(int x, int y) : width(x), height(y) {} int area(voi... Other 2024-09-03 34 点赞 0 评论 51 浏览