??
简单的介绍下MySQL5.5.28的编译安装过程。MySQL从5.5之后在进编译安装的过程中不在使用经典的./configure
make make install三部曲,具体的步骤是cmake
make 自己make install。
①下载MySQL-5.5.28.tar.gz,然后在linux里面进行解压
tar –xvf MySQL-5.5.28.tar.g...
分类:
数据库 时间:
2015-07-14 18:22:04
阅读次数:
176
前几天在做Kth Largest Element in an Array 时使用到了堆,通过那倒题目也了解到了堆的make_heap,push_heap,pop_heap操作,看了C++ reference中的讲解也明白了heap_sort是什么回事。于是想着自己实现以下这四个函数。
堆的定义:
任意节点小于它的所有后裔,最小元在堆的根上(堆序性)。
堆总是一棵完全树。
#include <ios...
分类:
其他好文 时间:
2015-07-14 18:16:02
阅读次数:
109
线段树模板(以求和为例)构造procedure make(p,l,r:longint);var mid:longint;begin a[p,1]:=l; a[p,2]:=r; a[p,3]:=0; if l=r then a[p,3]:=w[l]; if lmid then change1(p*.....
分类:
编程语言 时间:
2015-07-14 17:34:15
阅读次数:
113
创建目录mkdir(make directory):创建目录mkdir -p 目录名-p:递归创建目录使用目录cd(change directory):切换目录cd 目录名cd/cd ~:切换到家目录cd -:切换到上次所在目录cd ..:切换到上级目录cd .:切换到当前目录pwd(print w...
分类:
系统相关 时间:
2015-07-14 13:30:42
阅读次数:
148
Well, since we need to make a deep copy of the list and nodes in the list have arandom pointer that may point to any node in the list (or NULL), we ne...
分类:
其他好文 时间:
2015-07-14 13:21:33
阅读次数:
143
linux@ubuntu:~/Desktop/gsoap-2.8$ sudo make
make all-recursive
make[1]: Entering directory `/home/linux/Desktop/gsoap-2.8'
Making all in gsoap
make[2]: Entering directory `/home/linux/Desktop/gso...
分类:
系统相关 时间:
2015-07-13 18:40:09
阅读次数:
323
由于用的学习材料是《linux设备驱动开发详解(第二版)》,所以linux驱动学习笔记大部分文字描述来自于这本书,学习笔记系列用于自己学习理解的一种查阅和复习方式。#make config(基于文本的最为传统的配置界面,不推荐使用)#make menuconfig(基于文本菜单的配置界面)#make...
分类:
系统相关 时间:
2015-07-13 17:55:49
阅读次数:
364
/* * sysutil.c * * Routines to make the libc/syscall API more pleasant to use. Long term, * more libc/syscalls will go in here to reduce the number of...
分类:
其他好文 时间:
2015-07-13 15:59:26
阅读次数:
175
425.Which of the following are included in a transportable tablespace set? (Choose all that apply.)
A. The datafiles that make up a self-contained group of tablespaces required for copy
B. The syste...
分类:
其他好文 时间:
2015-07-13 14:04:57
阅读次数:
144
很详细、很移动的Linux makefile 教程内容如下:Makefile 介绍Makefile 总述书写规则书写命令使用变量使用条件推断使用函数make 的运行隐含规则使用make更新函数库文件后序近期在学习Linux下的C编程,买了一本叫《Linux环境下的C编程指南》读到makefile就越...
分类:
移动开发 时间:
2015-07-13 06:30:06
阅读次数:
374