SLF4J: Detected both log4j-over-slf4j.jar AND slf4j-log4j12.jar on the class path, preempting StackOverflowError. SLF4J: See also http://www.slf4j.org...
分类:
编程语言 时间:
2014-07-30 23:40:05
阅读次数:
885
一.安装Maven ubuntu下,配置环境变量etc/profile文件 —— (1)使用gedit ?etc/profile可以编辑,直接打开为只读模式。 (2)配置MAVEN_HOME与PATH ???? #set java environment MAVEN_HOME=/usr/lib/jvm/...
分类:
其他好文 时间:
2014-07-30 21:00:24
阅读次数:
196
直接递归
代码:
#include
#include
using namespace std;
typedef struct listNode{
int key;
struct listNode *pNext;
} * pNode,Node;
void createNode(pNode &pHead){
bool isFirst=true;
int temp;
sc...
分类:
其他好文 时间:
2014-07-30 20:57:14
阅读次数:
174
#include “book.h”
#include
在刚开始学习都会有这种迷惑,有的程序用
表示从系统目录下开始搜索,然后再搜索PATH环境变量所列出的目录,不搜索当前目录,""是表示从当前目录开始搜索,然后是系统目录和PATH环境变量所列出的目录。
所以,系统头文件一般用...
分类:
编程语言 时间:
2014-07-30 20:54:24
阅读次数:
227
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, 1 ...
分类:
其他好文 时间:
2014-07-30 20:33:34
阅读次数:
193
创建文件并写入内容StreamWriter sw = new StreamWriter(url, “false 覆盖,true 追加”, Encoding.UTF8);sw.Write(“内容”);sw.Close();读取文件内容FileInfo info = new FileInfo("路径")...
分类:
其他好文 时间:
2014-07-30 20:13:34
阅读次数:
234
function OnFinish(selProj, selObj){ try { var strProjectPath = wizard.FindSymbol('PROJECT_PATH'); var strProjectName = wizard.Find...
分类:
Web程序 时间:
2014-07-30 20:09:24
阅读次数:
268
cysnc+lsync配置安装环境ubuntu12.041)两台机器安装配置:apt-getinstallxinetdcsync2lsyncdcat/etc/xinetd.d/csync2
servicecsync2
{
disable=no
port=30865
socket_type=stream
protocol=tcp
wait=no
user=root
passenv=PATH
server=/usr/sbin/csync2
server_args=-i
}2)no..
分类:
其他好文 时间:
2014-07-30 17:56:34
阅读次数:
1527
project(ovw)cmake_minimum_required(VERSION2.8)#turnonshowcompilecmdlineSET(CMAKE_VERBOSE_MAKEFILEon)SET(CMAKE_PREFIX_PATH"F:/Qt5.3.1/win32_static_2013")#SetsourcedirofcppSET(SRC_DIR${PROJECT_SOURCE_DIR}/..)SET(QTLIB_DIR"F:/Qt5.3.1/win32_static_2013")#tosetc..
分类:
移动开发 时间:
2014-07-30 17:51:44
阅读次数:
555