摘要: int SplitString(string inputStr, string splitStr, vector &result) { if(inputStr.empty() || splitStr.empty()) return -1; int nCnt = 0; string::size_type nSplit = splitStr.size(); ... 阅读全文
posted @ 2016-03-30 19:19 AIceCream 阅读(126) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace std; bool Compare(const string &a, const string &b) { return ((a+b) > (b+a)); } void GetResult(vector vNums, string &strRlt) {... 阅读全文
posted @ 2016-03-29 21:52 AIceCream 阅读(402) 评论(0) 推荐(0) 编辑
摘要: Hadoop-1.0.4 安装配置一、 安装VMware本人使用的是11.1.2 build-2780323版本不详细讲述。二、 在VMware上安装ubuntu本人使用的是ubuntu 14.10(为了后续步骤的说明,本人在安装时的用户名、密码均定为hadoop)开启虚拟机后,调整时间区域,调整系... 阅读全文
posted @ 2015-12-25 16:14 AIceCream 阅读(252) 评论(0) 推荐(0) 编辑
摘要: package com.mvp.hadoop.examples;import java.io.IOException;import java.util.StringTokenizer;import org.apache.hadoop.conf.Configuration;import org.apa... 阅读全文
posted @ 2015-10-30 16:05 AIceCream 阅读(260) 评论(0) 推荐(0) 编辑