自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 xhttpcache 使用详细说明

##xhttpcache是什么?xhttpcache 是一个HTTP高速数据缓存服务,也可以做为K-V存储的NOSQL数据库支持redis协议接口,支持HTTP协议的REST接口;##xhttpcache有哪些功能?* 提供HTTP数据缓存服务,支持存储二进制数据; * 完整的K-V存储实现,  支持数据持久化存储(ROCKSDB); * 支持数据超时机制,提供毫秒

2016-09-22 21:52:43 1102

转载 MSGPACK和PROTOBUF的故事(MSGPACK明显生产力不足)

很好的经验,谢谢作者.

2016-09-11 22:53:25 1471

原创 EPOLL反应堆代码和说明注释

EPOLL反应堆:  整个反应堆的思想就是定义两个相同大小的myevent_s数组.全局数组g_events用来监听事件发生,如果你想要监听哪个文件描述符就要把它加入进g_events这个数组,同时把status置为1,说明这个文件描述符已经被监听.不再监听某个文件描述符时就把status置为0;g_events这个才是被操作的用来监听的主要数组,另一个数组只是用来传出事件

2016-08-29 23:23:00 630

原创 libltdl.so.7 is needed by unixODBC-2.2.14-12.el6_3.i686问题解决

红帽子装oracle时unixODBC-2.2.14-12.el6_3.i686.rpm    unixODBC-devel-2.2.14-12.el6_3.i686.rpm这两个文件依赖找不到.安装失败谷歌搜到下面的网址.https://community.oracle.com/thread/3577437?start=0&tstart=0

2016-06-26 18:39:03 7958 2

原创 All thing are difficlt before they are easy

今天学习了QT的Tcp通讯和文件操作。

2016-05-23 23:36:40 547

原创 QT基本操作信号与槽

我发现 多文件写出来的东西并不适合放在这里,我应该放到哪儿去呢?今天学习了QT在预习和同学的帮助下。学习的还算顺利,期待自己成为大牛的一天,将来如果有机会的话我会尽我的能力把程序描述的通俗易懂一点。希望这一天快些到来!!!学习总结和记录很重要。

2016-05-19 23:37:08 252

原创 希尔排序

#define _CRT_SECURE_NO_WARNINGS#include #include #include #include #include #define MAX 200000long get_system_time(){ struct timeb tb; ftime(&tb); return tb.time * 1000 + tb.millitm;}vo

2016-05-18 23:44:16 229

原创 归并

#include #include //将两个有序数列a[first...mid]和a[mid+1...last]合并。void mergeArray(int a[], int first, int mid, int last, int temp[]){ int leftStart = first; //左有序序列起点 int leftEnd = mid; //左有序序列终点 in

2016-05-18 23:39:48 208

原创 快排

#define _CRT_SECURE_NO_WARNINGS#include #include #include void quickSort(int s[], int l, int r)//把要排序的数组和最左边的下标还有最右边的下标传进来.{ if (l < r) { int i = l; int j = r; int x = s[l]; while (i <

2016-05-18 23:38:39 240

原创 堆排注释版

#define _CRT_SECURE_NO_WARNINGS#include using namespace std;void PrintArray(int arr[], int len){ for (int i = 0; i < len; i++){ cout << arr[i] << " "; } cout << endl;}void my_swp(int* a, i

2016-05-18 23:35:11 287

原创 插入排序

#define _CRT_SECURE_NO_WARNINGS#include #include #include #include #include #define MAX 9long get_sys_time(){ struct timeb tb; ftime(&tb); return tb.time * 1000 + tb.millitm;}void print

2016-05-18 23:33:06 182

原创 非递归遍历二叉树

利用自己写的栈来遍历二叉树:#define _CRT_SECURE_NO_WARNINGS#include #include #include #include "LinkStack.h"#define MYTURE 1#define MYFLASE 0//二叉树结点typedef struct BINARYNODE{ char ch; struct BINARYNODE*

2016-05-18 23:30:59 289

原创 递归遍历二叉树

#include #include #include // 二叉链表表示法typedef struct tag_BiTNode{ struct tag_BiTNode *lchild; // 左孩子 struct tag_BiTNode *rchild; // 右孩子 char data; // 数据}BiTNode;// 先序遍历void xianxuOrder(Bi

2016-05-18 23:27:35 203

原创 堆排序

#define _CRT_SECURE_NO_WARNINGS#include #include #include #include using namespace std;void print_array(int* a, int len){ for (int i = 0; i < len; i++) { printf("%d ", a[i]); }}void s

2016-05-18 23:25:15 241

原创 博客第一天

写这个的目的主要是为了记录自己的学习状态,把自己写的代码整理上来.后期方便自己再查看.

2016-05-18 23:13:21 191

空空如也

空空如也

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

TA关注的人

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