In this post, I’ll detail how to catch specific key presses and why this can be useful. This is another in my series of “requested” tutorials. There r...
分类:
编程语言 时间:
2014-08-11 02:46:11
阅读次数:
467
1、初试:1 2 3 My First Heading4 My first paragraph.5 6 2、标题:HTML 标题(Heading)是通过 - 等标签进行定义的。显然由大标题变为小标题....1 2 3 Thi...
分类:
编程语言 时间:
2014-08-11 00:19:01
阅读次数:
274
greater 从小到大lesser 总大到小#include#includeusing namespace std;int main(){ int n,m,t,x,y; long long s; priority_queue ,greater > my; cin>>n; ...
分类:
其他好文 时间:
2014-08-10 21:09:40
阅读次数:
280
mysqld程序:目录和文件basedir = path使用给定目录作为根目录(安装目录)。character-sets-dir = path给出存放着字符集的目录。datadir = path从给定目录读取数据库文件。pid-file = filename为mysqld程序指定一个存放进程ID的文...
分类:
数据库 时间:
2014-08-10 21:07:30
阅读次数:
387
#include //从小到大排列#include#includeusing namespace std;int main(){ int i,x; vectormy ; for(i=1;i>x; my.push_back(x); } sort(my.begin(),my.end()); f...
分类:
其他好文 时间:
2014-08-10 18:34:30
阅读次数:
188
极目,远眺(752284118) 16:03:43poj 1002 用C++提交AC,G++超时#include #include #include #include #include using namespace std;map my;char a[30]="22233344455566677....
分类:
其他好文 时间:
2014-08-10 18:28:30
阅读次数:
233
#include #include #include //头文件 using namespace std;map my; //全局变量 0 map ::iterator it ; //指针 int main( ){ int i ; strin...
分类:
其他好文 时间:
2014-08-10 18:24:30
阅读次数:
224
#include struct MyStruct{ MyStruct(int a) { a = b = 0; } int a; int b;};int main(){ MyStruct my = {0};//列表初始化只适合非聚合结构体,所以这样不行...
分类:
其他好文 时间:
2014-08-10 18:11:30
阅读次数:
205
http://www.geeksforgeeks.org/amazon-interview-set-105-campus/First PI:1. A brief discussion on my projects that I have done .2. One thing that I am mo...
分类:
其他好文 时间:
2014-08-10 15:35:10
阅读次数:
302
1,使用 mysqlslap 进行压力测试
mysqlslap --defaults-file=/etc/my.cnf --concurrency=200 --iterations=1 --number-int-cols=1 --auto-generate-sql --auto-generate-sql-load-type=write --engine=myisam,innodb --n...
分类:
数据库 时间:
2014-08-10 13:06:00
阅读次数:
368