摘要: 一、面向对象三大特性 面向对象核心是三个特性: 封装(Encapsulation) 继承(Inheritance) 多态(Polymorphism) C语言都可以“模拟实现”。 二、封装(C语言最常见) point.h #ifndef POINT_H #define POINT_H /* 前向声明 阅读全文
posted @ 2026-03-15 20:33 上善若淼 阅读(3) 评论(0) 推荐(0)