*) 基本概念:1. 应用程序(Application)2. ODBC驱动管理器(ODBC
Driver Manager) 负责管理应用程序和驱动程序间的通信,主要功能包括:解析DSN
(数据源名称,ODBC的数据源名称在ODBC.INI文件中配置),加载和卸载驱动程序,处理ODBC调用,...
分类:
数据库 时间:
2014-05-12 08:41:25
阅读次数:
601
自己写的一段://goolchar* str_replace(char* source,
const char* find, const char* replace){ if (source == NULL || find == NULL ||
find == "") return strdup.....
分类:
其他好文 时间:
2014-05-12 02:42:20
阅读次数:
418
ind是一个基于查找的功能非常强大的命令,相对而言,它的使用也相对较为复杂,参数也比较多,所以在这里将给把它们分类列出,它的基本语法如下:find[PATH][option][action]#与时间有关的参数:-mtimen:n为数字,意思为在n天之前的“一天内”被更改过的文件;-mtime+n:列...
分类:
其他好文 时间:
2014-05-12 02:01:20
阅读次数:
327
原题地址:http://oj.leetcode.com/problems/sum-root-to-leaf-numbers/题意:Given
a binary tree containing digits from0-9only, each root-to-leaf path could
repre...
分类:
编程语言 时间:
2014-05-12 01:28:30
阅读次数:
440
产生原因:误将/home/user目录的用户变成了root,所以无法更新ICE导致开机警告解决方法:1.使用guest登录2.打开一个console3.Ctrl
+ Alt +F1 进入安全模式4.使用你的用户名登录5.sudo chown -R user:user/home/$user/.ICEa...
分类:
其他好文 时间:
2014-05-12 00:15:41
阅读次数:
459
Triangle
Time Limit: 3000MS
Memory Limit: 30000K
Total Submissions: 8038
Accepted: 2375
Description
Given n distinct points on a plane, your task is to find the triangl...
分类:
其他好文 时间:
2014-05-11 06:36:44
阅读次数:
425
题目
Given a binary tree, find the maximum path sum.
The path may start and end at any node in the tree.
For example:
Given the below binary tree,...
分类:
其他好文 时间:
2014-05-11 03:25:24
阅读次数:
298
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie
Maximum Depth of Binary Tree
Total Accepted: 16605 Total
Submissions: 38287
Given a binary tree, find its maximum depth.
...
分类:
其他好文 时间:
2014-05-11 01:58:31
阅读次数:
441
这个版本已经和之前不一样了,有专门的github的项目。https://github.com/mongodb/mongo-cxx-driver首先获取源代码:git clone https://github.com/mongodb/mongo-cxx-driver.git然后切换分支:git checkout 26compat然后用下面的命令编译:scons --prefix=/usr --use...
分类:
数据库 时间:
2014-05-11 01:40:46
阅读次数:
379
find命令小结find命令用于在系统中查找文件,配合 -exec 选项或
xargs命令还能对查找到得文件执行一些列的自动化操作。基本格式:find [-H] [-L] [-P] [path...]
[expression]path指定起始搜索路径,可以指定多个,exprssion表示搜索表达式,...
分类:
其他好文 时间:
2014-05-10 06:53:44
阅读次数:
324