自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 474

原创 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 204

原创 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 362

原创 eclipse 插件挂载

eclipse plugins 挂载方式:1、通过创建 link 挂载:   在eclipse的安装目录下的links目录下创建以plugins 的名字命名的link文件,该link文件链接到插件路径。在eclipse运行时可以检测并加载该插件。支持热拔插。

2017-10-10 10:12:01 241

转载 转载:C++ 实现银行排队服务模拟

转自: http://www.codeceo.com/article/bank-queuing-services-model.html教程简介:使用 C++对银行排队服务进行模拟,以事件驱动为核心思想,手动实现模板链式队列、随机数产生器等内容,进而学习概率编程等知识。作为可选进阶,这个模型同时还能稍加修改的应用到 CPU 资源争夺模型中。一、概述实验所需的前置知识

2016-08-22 17:53:06 2823 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除