摘要: sudo systemctl start mysqld Firstly we need backup all database data into new file, I use TestPortal.sql /data/VMs_Share/Homes/bell -bash-4.2$ mysqldu 阅读全文
posted @ 2024-01-28 16:52 Bell123 阅读(75) 评论(0) 推荐(0) 编辑
摘要: ##ActiveMQ服务搭建 ###启动activeMQ服务器 1首先要下载bin压缩文件 https://activemq.apache.org/ Components -> ActiveMQ "Classic" -> 下载 apache-activemq-5.9.0-bin.tar.gz (ht 阅读全文
posted @ 2023-02-19 16:33 Bell123 阅读(195) 评论(0) 推荐(0) 编辑
摘要: ###桥接模式 BridgeModle.h #pragma once #include <iostream> using namespace std; class Tool { public: Tool(){} Tool(string str){} virtual string usingTool( 阅读全文
posted @ 2023-02-08 10:26 Bell123 阅读(14) 评论(0) 推荐(0) 编辑
摘要: ###适配器 AdaptorModle.h #pragma once #include <iostream> #include <string> using namespace std; //本软件 音乐播放器支持 3gp格式 不支持mp4 和 ts格式 //其他软件 播放器不能支持 3gp格式 支 阅读全文
posted @ 2023-02-07 16:51 Bell123 阅读(14) 评论(0) 推荐(0) 编辑
摘要: ###原型模式 ####要点:clone一个对象 拷贝构造函数必须重写 #define _CRT_SECURE_NO_WARNINGS//这里编译没通过,所以去属性里面改吧 先换成strcpy_s用 #include <iostream> using namespace std; class Stu 阅读全文
posted @ 2023-02-07 14:54 Bell123 阅读(8) 评论(0) 推荐(0) 编辑
摘要: ###建造者 模式 builderModle.h #pragma once #include <iostream> #include <string> using namespace std; class Phone { public: Phone() {} ~Phone() {} void set 阅读全文
posted @ 2023-02-07 12:49 Bell123 阅读(12) 评论(0) 推荐(0) 编辑
摘要: ###简易单例模型 easysiglemodle.h #ifndef EASYSIGLEMODLE_H #define EASYSIGLEMODLE_H #include <iostream> using namespace std; class EasySingleModle{ public: s 阅读全文
posted @ 2023-02-07 12:33 Bell123 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 工厂模式 #include <iostream> #include <string> using namespace std; class Shape { public: virtual void draw() = 0; }; class Rectangle : public Shape { pub 阅读全文
posted @ 2023-02-07 12:18 Bell123 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 安装qt_vs_tools遇到的问题 > 系统C盘空间占用快满了,所以重新装了下系统,这也是噩梦的开始,除去其他的必须软件之外,vs和qt算是最头疼的了,折腾了一天半。。。我一直想获取如下页面,但是,不知是版本不兼容,还是安装的其他问题,最终我标记的东西都没有出现。。。心情很沮丧,毕竟是用习惯了qt 阅读全文
posted @ 2021-09-18 18:57 Bell123 阅读(2379) 评论(0) 推荐(0) 编辑
摘要: src/core/ngx_murmurhash.c: In function ‘ngx_murmur_hash2’: src/core/ngx_murmurhash.c:37:11: error: this statement may fall through [-Wer ror=implicit- 阅读全文
posted @ 2021-09-12 09:54 Bell123 阅读(318) 评论(0) 推荐(0) 编辑