08 2022 档案

c++ bind ref 例子
摘要:// bind example #include <iostream> // std::cout #include <functional> // std::bind // a function: (also works with function object: std::divides<doub 阅读全文

posted @ 2022-08-28 11:10 金凯旋 阅读(33) 评论(0) 推荐(0) 编辑

实现0开销的 c++ 接口例子
摘要:// network.h class Network { public: bool send(const char* host, uint16_t port, const std::string& message); static Network* New(); static void Delete 阅读全文

posted @ 2022-08-14 10:49 金凯旋 阅读(51) 评论(0) 推荐(0) 编辑

使用CMake的qt5项目,使用 vs2022调试
摘要:回头看当时写的内容,现在vs已经升级使用CmakePreSettings.json 设置里, 同时,设置也简化了很多。 下面内容仍然保留,作为一个记录吧。 qt creator debug 代码时,有个奇怪的现象, F10跟着跟着,莫名其妙地,没法下一步了。只能中断,重来。从5.8 一直到5.15 阅读全文

posted @ 2022-08-09 22:27 金凯旋 阅读(1942) 评论(0) 推荐(0) 编辑

qt 汉字显示
摘要:运行环境windows, 编辑语言环境:utf-8 + rom 测试代码: #include <QCoreApplication> #include <iostream> #include <QString> #include <QDebug> #pragma execution_character 阅读全文

posted @ 2022-08-08 16:39 金凯旋 阅读(89) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

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