2023年3月7日

C++中使用interface

摘要: C++中使用interface 使用struct; 不使用成员变量,只使用成员函数; 所有成员函数都是纯虚的; 不使用构造函数和析构函数; 参考 C++的interface_c++ interface_Stephan_zry的博客-CSDN博客 c++ 如何编写接口类(interface)_c++接 阅读全文

posted @ 2023-03-07 09:32 OctoberKey 阅读(54) 评论(0) 推荐(0) 编辑

导航