var express = require('express');var path = require('path');var favicon = require('serve-favicon');var logger = require('morgan');var cookieParser = r...
分类:
移动开发 时间:
2014-09-15 04:31:38
阅读次数:
181
JAVA_HOME:D:\soft\study\jdk1.7.0_01JAVA_HOME里配置的是我们jdk安装的路径,这样配置就好。如果你是要用到JAVA_HOME的话,那就不要在JAVA_HOME的后面再添加分号(;),这样反而出问题。如下:Path:.;%JAVA_HOME%\bin;此处的这...
分类:
编程语言 时间:
2014-09-15 00:59:17
阅读次数:
264
++(a++) a++相当于int a;{int temp=a;a++;teturn temp;}所以我们可以将++(a++)看成++temp;而temp显然是一个右值,所以不能用啊~~ L-value中的L指的是Location,表示可寻址。The "l" in lvalue can be tho...
分类:
编程语言 时间:
2014-09-14 23:35:27
阅读次数:
227
import java.util.*;public class GuessNumber { public static void main(String[] args) { int num = new Random().nextInt(100), temp; Sca...
分类:
其他好文 时间:
2014-09-14 23:35:07
阅读次数:
323
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5014解题报告:西安网赛的题,当时想到一半,只想到从大的开始匹配,做异或运算得到对应的b[i],但是少了一个操作,ans[i] = temp,却没有想到ans[temp] = i;所以就一直卡在这里了,因...
分类:
其他好文 时间:
2014-09-14 23:28:07
阅读次数:
219
1. 安装好MyEclipse集成开发工具2. 下载tomcat, 我用的是tomcat 7.x , 下载完后,直接解压到D盘根目录,命名为tomcat3. 配置环境变量:在系统环境变量 新建 TOMECAT_HOEM 路径是: D:\tomcat4. 在系统变量的Path 后面添加 %TOMCAT...
分类:
系统相关 时间:
2014-09-14 23:23:18
阅读次数:
386
#include #include #include #include #include using namespace std;//stringstream只是一个中转的作用,因为write_json还是read_json操作的是stringstream.void packetage(char**...
分类:
Web程序 时间:
2014-09-14 22:06:17
阅读次数:
300
1. 基本的约束方法为了保证成功的设计,所有路径的时序要求必须能够让执行工具获取。最普遍的三种路径为:输入路径(Input Path),使用输入约束寄存器到寄存器路径(Register-to-Register Path),使用周期约束输出路径(Output Path),使用输出约束具体的异常路径(P...
分类:
其他好文 时间:
2014-09-14 20:38:57
阅读次数:
265
1.依赖头文件
#include
#include
2.函数定义:
int truncate(const char *path,off_t length);
int ftruncate(int fd,off_t length);
函数说明:
The truncate() and ftruncate() functions cause the regular file named...
分类:
系统相关 时间:
2014-09-14 19:20:57
阅读次数:
289
第一关:
type ="text/javascript">
//声明一个函数,求两个数的和,测试你声明的函数
function sum(a ,b){
return a+b ;
}
document.write (sum(2,3 ));
第二关:
type ="text/...
分类:
Web程序 时间:
2014-09-14 19:20:37
阅读次数:
244