随笔分类 -  [1] C&Cpp

摘要:*-* 阅读全文
posted @ 2024-05-25 11:05 htj10 阅读(5) 评论(0) 推荐(0) 编辑
摘要:-- 阅读全文
posted @ 2024-05-07 21:48 htj10 阅读(4) 评论(0) 推荐(0) 编辑
摘要:收藏的博客 -- Qt/C++学习 阅读全文
posted @ 2024-04-26 17:02 htj10 阅读(4) 评论(0) 推荐(0) 编辑
摘要:** 阅读全文
posted @ 2024-04-26 12:32 htj10 阅读(9) 评论(0) 推荐(0) 编辑
摘要:*_* 阅读全文
posted @ 2024-04-25 17:17 htj10 阅读(5) 评论(0) 推荐(0) 编辑
摘要:条款24 》条款24:若所有参数皆需类型转换,请为此采用non-member函数 ** 阅读全文
posted @ 2024-04-24 10:20 htj10 阅读(2) 评论(0) 推荐(0) 编辑
摘要:spdlog 支持only-header(仅头文件) 头文件下载,可以去官网 https://github.com/gabime/spdlog 或者:https://download.csdn.net/download/htj10/88421316?spm=1001.2014.3001.5503 使 阅读全文
posted @ 2023-10-12 18:48 htj10 阅读(85) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/HR_Reborn/article/details/130363997 #pragma once class Array { public: Array() : size_(0), data_(nullptr){ } Array(int size) 阅读全文
posted @ 2023-08-26 17:03 htj10 阅读(78) 评论(0) 推荐(0) 编辑
摘要:** 阅读全文
posted @ 2022-12-30 15:38 htj10 阅读(12) 评论(0) 推荐(0) 编辑
摘要:代码: #pragma once #include <iostream> #include <string> using namespace std; class CompanyA { public: CompanyA() { } virtual ~CompanyA() { } void sendC 阅读全文
posted @ 2022-12-22 17:04 htj10 阅读(17) 评论(0) 推荐(0) 编辑
摘要:++ 阅读全文
posted @ 2022-12-22 17:00 htj10 阅读(16) 评论(0) 推荐(0) 编辑
摘要:..00 阅读全文
posted @ 2022-12-20 19:51 htj10 阅读(14) 评论(0) 推荐(0) 编辑
摘要:使用private继承 实现: #pragma once #include "IPerson.h" #include "PersonInfo.h" class CPerson1 : public IPerson, private PersonInfo { public: explicit CPers 阅读全文
posted @ 2022-12-20 15:56 htj10 阅读(18) 评论(0) 推荐(0) 编辑
摘要:** 阅读全文
posted @ 2022-12-05 10:16 htj10 阅读(16) 评论(0) 推荐(0) 编辑
摘要:模板方法模式 #include <iostream> using namespace std; class GameCharacter { public : int healthValue() const { //... 做一些事前工作 int rtnValue = doHealthValue(); 阅读全文
posted @ 2022-11-22 17:37 htj10 阅读(17) 评论(0) 推荐(0) 编辑
摘要:***** 阅读全文
posted @ 2022-11-22 17:25 htj10 阅读(9) 评论(0) 推荐(0) 编辑

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