随笔 - 6  文章 - 0  评论 - 0  阅读 - 54 
11 2024 档案
实验4 类的组合、继承、模板类、标准库
摘要:任务一: task1-1.cpp #include <iostream> using std::cout; using std::endl; // 类A的定义 class A { public: A(int x0, int y0); void display() const; private: in 阅读全文
posted @ 2024-11-25 09:17 陆一鸣· 阅读(4) 评论(0) 推荐(0) 编辑
实验3 类和对象_基础编程2
摘要:任务一: button.hpp: #pragma once #include <iostream> #include <string> using std::string; using std::cout; // 按钮类 class Button { public: Button(const str 阅读全文
posted @ 2024-11-10 19:56 陆一鸣· 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示