上一页 1 2 3 4 5 6 7 ··· 112 下一页
摘要: 编译安装 源码下载地址 https://download.qt.io/archive/qt/ 配置参数 ./configure \ -verbose \ -opensource \ -release \ -shared \ -confirm-license \ -make libs \ -nomak 阅读全文
posted @ 2022-12-05 18:59 thomas_blog 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 通常,用在本地容器需要挂载一个远程目录的时候来使用 安装 vieux/sshfs 插件 docker plugin install --grant-all-permissions vieux/sshfs 使用镜像加速,我是没有下载成功。关闭了就可以了 通过 vieux/sshfs 驱动创建数据卷 d 阅读全文
posted @ 2022-12-05 18:55 thomas_blog 阅读(572) 评论(0) 推荐(0) 编辑
摘要: 官方hub https://hub.docker.com/ 拉取镜像 docker pull ubuntu 可以指定版本 docker pull ubuntu:18.04 可以考虑使用镜像加速 运行容器 docker run -it ubuntu /bin/bash -i: 交互式操作 -t: 终端 阅读全文
posted @ 2022-12-05 18:40 thomas_blog 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 教程 https://www.runoob.com/docker/docker-tutorial.html 主题 以下讲解windows11安装 官网下载 https://www.docker.com 常规下一步 安装完成 安装报错 根据提示下载wsl2更新 https://learn.micros 阅读全文
posted @ 2022-12-05 17:38 thomas_blog 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 编写结构 // Filename: person.proto syntax="proto3"; package person; message Person { string name = 1; int32 id = 2; uint32 age = 3; enum PhoneType { MOBIL 阅读全文
posted @ 2022-09-12 14:36 thomas_blog 阅读(20) 评论(0) 推荐(0) 编辑
摘要: Protocol Buffers是一种轻便高效的结构化数据存储格式,可以用于结构化数据串行化,或者说序列化 https://github.com/protocolbuffers/protobuf.git 编译 # apt-get install autoconf automake libtool c 阅读全文
posted @ 2022-09-11 23:35 thomas_blog 阅读(143) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <memory> using namespace std; class Person { public: Person() { cout << "Person()构造" << endl; } ~Person() { cout << "~Per 阅读全文
posted @ 2022-09-06 21:04 thomas_blog 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 无序map容器 对于有顺序要求的问题,map会更高效一些 对于查找问题,unordered_map会更加高效一些 #include <iostream> #include <unordered_map> int main() { std::unordered_map<int, std::string 阅读全文
posted @ 2022-09-05 18:41 thomas_blog 阅读(52) 评论(0) 推荐(0) 编辑
摘要: assert是运行期断言,它用来发现运行期间的错误 stastic_assert为了弥补assert和error的不足,可以作编译期的静态检查 #include <iostream> int main() { static_assert(sizeof(char) == 2, "hello furon 阅读全文
posted @ 2022-09-02 16:47 thomas_blog 阅读(48) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <memory> using namespace std; class Person { public: Person() { cout << "Person()构造" << endl; } ~Person() { cout << "~Per 阅读全文
posted @ 2022-09-02 16:06 thomas_blog 阅读(15) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 112 下一页