摘要:
智能指针 // // Created by lyx on 2025/8/2. // #ifndef LEARNC___SIMPLESHAREDPTR_H #define LEARNC___SIMPLESHAREDPTR_H struct ControlBlock{ int ref_count; Co 阅读全文
摘要:
demo1 在子类中使用 基类::函数调用基类函数 实现函数重写 #include <iostream> #include <string> using namespace std; // 基类 Person class Person { private: string name; int age; 阅读全文