上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页

2021年1月12日

C++11的function和bind

摘要: https://blog.csdn.net/qq_36327203/article/details/108697677 阅读全文

posted @ 2021-01-12 18:00 xiegangqingnian 阅读(48) 评论(0) 推荐(0) 编辑

C++11 序列化库 cereal

摘要: https://blog.csdn.net/weixin_38169562/article/details/99774871 阅读全文

posted @ 2021-01-12 14:54 xiegangqingnian 阅读(101) 评论(0) 推荐(0) 编辑

std::ostringstream输出流详解

摘要: https://www.cnblogs.com/beeasy/p/6063924.html 阅读全文

posted @ 2021-01-12 13:53 xiegangqingnian 阅读(253) 评论(0) 推荐(0) 编辑

2020年12月30日

pthread使用barrier栅栏方式同步

摘要: https://langzi989.github.io/2018/07/05/pthread%E4%BD%BF%E7%94%A8barrier%E6%A0%85%E6%A0%8F%E6%96%B9%E5%BC%8F%E5%90%8C%E6%AD%A5/ 阅读全文

posted @ 2020-12-30 10:07 xiegangqingnian 阅读(94) 评论(0) 推荐(0) 编辑

2020年12月10日

用gdb调试程序命令

摘要: 原文:https://wiki.ubuntu.org.cn/%E7%94%A8GDB%E8%B0%83%E8%AF%95%E7%A8%8B%E5%BA%8F 阅读全文

posted @ 2020-12-10 15:07 xiegangqingnian 阅读(75) 评论(0) 推荐(0) 编辑

queue的使用

摘要: 原文:http://c.biancheng.net/view/479.html 阅读全文

posted @ 2020-12-10 10:09 xiegangqingnian 阅读(126) 评论(1) 推荐(0) 编辑

2020年12月3日

make_shared的使用

摘要: make_shared的使用: shared_ptr<string> p1 = make_shared<string>(10, '9'); shared_ptr<string> p2 = make_shared<string>("hello"); shared_ptr<string> p3 = ma 阅读全文

posted @ 2020-12-03 09:09 xiegangqingnian 阅读(10364) 评论(0) 推荐(0) 编辑

2020年1月10日

泛函算法

摘要: 1.find()用于搜索无序集合中是否存在某值。搜索范围由iterator[first,last]指出。如果找到目标,find()会返回一个iterator指向该值,否则返回一个iterator指向last。 2.count()返回数值相符的元素数目。 3.Iterator(泛型指针),可提供有如内 阅读全文

posted @ 2020-01-10 10:11 xiegangqingnian 阅读(245) 评论(0) 推荐(0) 编辑

2020年1月9日

emacs设置中文输入的方法

摘要: 最好的办法是修改.bashrc:export LANG=en_US.UTF-8export LC_CTYPE=zh_CN.UTF-8 图形界面的emacs在 emacs-china有帖子如下(其中~/xprofile测试有效):对了,Linux上还有一个坑,就是有的情况下(比如我的Archlinux 阅读全文

posted @ 2020-01-09 11:28 xiegangqingnian 阅读(1120) 评论(0) 推荐(0) 编辑

essential C++ 3.1题

摘要: #include<iostream>#include<fstream>#include<vector>#include<algorithm>#include<map>#include<set> using namespace std; ////0.declare function void Init 阅读全文

posted @ 2020-01-09 11:03 xiegangqingnian 阅读(143) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页

导航