- 博客(5)
- 收藏
- 关注
原创 Linux:RPM 打包记录
常见问题: Q1、No Such File or Directory. A1: 不同版本的Linux上会有不同版本的rpmbuild,它定义的%buildroot 路径 有可能会不同,而且对于有些版本,在spec文件中指定的%buildroot 并不会起作用,使得package过程中需要的sources所在目录定位出错。一般在低版本的rpmbuild上能成功package的sp...
2017-09-19 15:16:16 478
原创 Eclipse: Run Long Time Job in UI-Thread
If you want to run a long time job in non-UI thread and keep the UI responsive, but is other is locked(can refreshes, but don't in accept interaction), you can use the following two ways:// First W...
2019-04-26 14:50:30 207
原创 Remove/Replace charactors in std::string
This is a way to remove all spaces in a string:std::string removeSpace(const std::string& str){ std::string strToRemove = " "; std::string ret(str); size_t pos = ret.find(strToRemove);...
2019-04-26 13:59:44 366
原创 eclipse 插件挂载
eclipse plugins 挂载方式:1、通过创建 link 挂载: 在eclipse的安装目录下的links目录下创建以plugins 的名字命名的link文件,该link文件链接到插件路径。在eclipse运行时可以检测并加载该插件。支持热拔插。
2017-10-10 10:12:01 243
转载 转载:C++ 实现银行排队服务模拟
转自: http://www.codeceo.com/article/bank-queuing-services-model.html教程简介:使用 C++对银行排队服务进行模拟,以事件驱动为核心思想,手动实现模板链式队列、随机数产生器等内容,进而学习概率编程等知识。作为可选进阶,这个模型同时还能稍加修改的应用到 CPU 资源争夺模型中。一、概述实验所需的前置知识
2016-08-22 17:53:06 2845 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人