最近有点小问题,假设我打了这么个类:
class the_class{ public: int the_public; private: int the_private; };
如果我想让外界能通过某些方式来访问private里面的所有变量,但是无法做出修改,我该怎么实现?