1.设置输出后缀set(CMAKE_DEBUG_POSTFIX "d")2.设置输出目录set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINA...
分类:
其他好文 时间:
2014-07-07 09:31:04
阅读次数:
1031
Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solution stil...
分类:
其他好文 时间:
2014-07-03 20:34:46
阅读次数:
193
1.安装gcc-c++ gcc make cmake编译器2.安装ncurses3.添加用户组 groupadd mysql useradd -r -g mysql mysql 4.安装 tar -zxvf mysql-5.5.12.tar.gz cd mysql-5...
分类:
数据库 时间:
2014-07-03 12:06:09
阅读次数:
186
#import "TargetConditionals.h"gcc based compiler used on Mac OS Xfor EX#if !TARGET_IPHONE_SIMULATOR Float32 preferredBufferSize = 0.0232; if (checkE.....
分类:
其他好文 时间:
2014-07-02 18:43:36
阅读次数:
203
Same Tree Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally i...
分类:
其他好文 时间:
2014-07-02 17:56:50
阅读次数:
205
在centos 5下安装软件遇到的问题,google了一圈,是因为系统没有安装编译器,那安装就是了,嘿嘿。解决办法,在SSH下输入下面的命令yum -y install gcc automake autoconf libtool makelinux xinetd 服务不能启动:[root@capaa...
分类:
Web程序 时间:
2014-07-02 17:34:23
阅读次数:
288
前面介绍的栈、队列都是线性结构(linear structure)。而树是非线性结构(non-linear structure)。因此,树中的元素之间一般不存在类似于线性结构的一对一的关系,更多地表现为多对多的关系。直观地看,它是数据元素(在树中称为节点)按分支关系组织起来的结构。显然,树形结构是比线性结构更复杂的一种数据结构类型。树的定义:树是含有n个节点的有穷集合,其中有一个节点比较特殊称为根节点。在图示树时,用一条边连接两个有逻辑关系的节点,这个关系被称为父子关系。二叉树(Binary Tree)由节...
分类:
其他好文 时间:
2014-07-02 16:44:33
阅读次数:
183
本次任务是要完成嵌入式Linux下对openssl程序的支持。
我的开发环境:ARM9开发板 和 嵌入式Linux操作系统。装有Linux系统(我的是ubuntu9.04)的PC机一台。串口和串口连接线。串口调试软件:minicom。交叉编译工具:arm-unknown-linux-gnu-gcc
下载最新版本的openssl-1.0.0:
http://www.op...
分类:
其他好文 时间:
2014-07-02 16:29:04
阅读次数:
290
The gray code is a binary numeral system where two successive values differ in only one bit.
分类:
其他好文 时间:
2014-07-02 14:47:43
阅读次数:
253
先配置erlang依赖环境yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel安装erlang 16B03rpm --import http://binaries.erlang-solutions.co...
分类:
其他好文 时间:
2014-07-02 10:32:45
阅读次数:
240