5free

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2023年8月17日

摘要: 记录一下,Qt 使用 MSVC编译器, 对 UTF8 带 和不带 BOM ,会导致编码问题。很隐蔽。 待更新 阅读全文
posted @ 2023-08-17 22:54 5free 阅读(9) 评论(0) 推荐(0) 编辑

2023年3月16日

摘要: git rm --cached readme1.txt 删除readme1.txt的跟踪,并保留在本地。 git rm --f readme1.txt 删除readme1.txt的跟踪,并且删除本地文件。 转自:https://www.cnblogs.com/zhuchenglin/p/712838 阅读全文
posted @ 2023-03-16 12:50 5free 阅读(28) 评论(0) 推荐(0) 编辑

2022年11月2日

摘要: 看图,这样能提高调试效率 阅读全文
posted @ 2022-11-02 11:17 5free 阅读(40) 评论(0) 推荐(0) 编辑

2022年11月1日

摘要: #include <iomanip> #include <iostream> #include "Eigen/Core" int main() { using v = Eigen::Matrix<double, 3, 1>; // rows 3; cols 1 using T = Eigen::Ma 阅读全文
posted @ 2022-11-01 09:50 5free 阅读(37) 评论(0) 推荐(0) 编辑

2022年10月31日

摘要: 转自:https://blog.csdn.net/zfjBIT/article/details/93972484 #include <iomanip> std::cout << std::setiosflags(std::ios::fixed) << std::setiosflags(std::io 阅读全文
posted @ 2022-10-31 17:23 5free 阅读(99) 评论(0) 推荐(0) 编辑

2022年10月28日

摘要: 用正则表达式, 在整个项目中查找 b*[^:b#/]+.*$ 最后在查找结果窗口底部会显示匹配的行数 阅读全文
posted @ 2022-10-28 10:25 5free 阅读(244) 评论(0) 推荐(0) 编辑

摘要: 直接上代码 #include <iostream> class foo { public: foo() { std::cout << "Hello World!\n"; } ~foo() { std::cout << "Good Bye!\n"; } }; int main() { foo a; } 阅读全文
posted @ 2022-10-28 10:02 5free 阅读(13) 评论(0) 推荐(0) 编辑

2022年10月20日

摘要: 转自: https://blog.csdn.net/m0_51955470/article/details/117960694 #include <iostream> using namespace std; //template<typename R,typename T,typename U> 阅读全文
posted @ 2022-10-20 12:54 5free 阅读(14) 评论(0) 推荐(0) 编辑

2022年4月22日

摘要: no matching host key type found. Their offer: ssh-rsa .ssh 目录新建一文件 config 内容: HostKeyAlgorithms ssh-rsaPubkeyAcceptedKeyTypes ssh-rsa 阅读全文
posted @ 2022-04-22 14:08 5free 阅读(68) 评论(0) 推荐(0) 编辑

2021年12月27日

摘要: 使用vcctor访问数据,如果使用下标 [n] 访问,如果n 大于实际的索引,并不会抛出异常。 所以正规的访问方式,还是使用 .at(n) 的方法。 阅读全文
posted @ 2021-12-27 08:55 5free 阅读(237) 评论(0) 推荐(0) 编辑