#include
#include
#include
using namespace std;
void ProcessSignal(const char* data, int size)
{
LOG(ERROR) << __func__ << ":Error..." << std::string(data,size);
}
int main(int argc, cha...
分类:
其他好文 时间:
2015-02-13 11:42:22
阅读次数:
131
/**
* 第几天
*/
import java.util.*;
public class acm2005 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while (in.hasNext()) {
String date = in.next();
int...
分类:
其他好文 时间:
2015-02-13 11:40:03
阅读次数:
110
Given string A representative a positive integer which has N digits, remove any k digits of the number, the remaining digits are arranged according to the original order to become a new positive integer....
分类:
其他好文 时间:
2015-02-13 11:39:14
阅读次数:
119
转:http://www.ibm.com/developerworks/cn/web/wa-oojavascript/JavaScript 语言包含好几种内嵌式对象,仅举几例,如Array、String和Date。但是,如果您想创建自定义函数,您可以使用可用方法中的一种来创建您自己的自定义对象。使用...
分类:
编程语言 时间:
2015-02-13 11:35:38
阅读次数:
162
cjson是一个非常小巧的c语言写的json解析器, 代码比较短小精悍, c文件不过千行, 同类代码可在网页 json库 中找到. 项目地址如下: cjson地址json的格式就不介绍了, 下面五个图能很好的解释json的格式.一个object以{string:value...}的形式构成也可以由数...
分类:
Web程序 时间:
2015-02-13 11:27:54
阅读次数:
180
WEB备份方法WEB客户端备份/// /// 备份数据库 /// /// void BackupDb(HttpContext context) { string []dbnames = ConfigHe...
分类:
数据库 时间:
2015-02-13 11:27:19
阅读次数:
256
getline读取整行文本”。书上给的程序如下:int main(){ string line: while(getline(cin,line)) cout<<line<<endl; return 0;}
分类:
其他好文 时间:
2015-02-13 11:21:28
阅读次数:
100
注:对于每一横行的数据读取,一定小心不要用int型,而应该是char型或string型。原题:1090. City hallTime Limit: 1.0 Seconds Memory Limit: 65536KTotal Runs: 4874 Accepted Runs: 2395Because....
分类:
其他好文 时间:
2015-02-13 10:03:41
阅读次数:
184
Properties
在Android中,比起用纯字符串读写并自行解析,或是用xml来保存配置,
Properties显得更简单和直观,因为自行解析需要大量代码,而xml的操作又远不及Properties方便
update.url=http://baidi...
public static String getUpgradeUrl() {
Properties pro...
分类:
其他好文 时间:
2015-02-13 09:23:36
阅读次数:
132
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2015-02-13 09:13:59
阅读次数:
127