先建立一个asp.net页面ValidateCode.aspx不写任何东西 : 在页面的后台ValidateCode.cs文件写一下代码:using System;using System.Collections.Generic;using System...
分类:
Web程序 时间:
2015-08-25 14:08:37
阅读次数:
149
--执行系统存储过程,查询登录名为sa的并发数,如果不指定登录名,则查询全部exec SP_WHO 'sa'--查询master.dbo.sysprocesses表,其实SP_WHO存储过程也是封装了该表select hostname,count(*) AS Count from master.db...
分类:
数据库 时间:
2015-08-25 14:06:51
阅读次数:
154
Open the LockTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5307Accepted Submission(s): 2360Probl...
分类:
其他好文 时间:
2015-08-25 14:05:47
阅读次数:
153
constructor 不带返回类型,否则报错:the constructor call must be the first..static 方法,静态绑定,不需要被覆盖,也不能被覆盖,不加static修饰时才是被覆盖。继承理解:子类Child继承父类FatherChild 类对象在堆内存中,包含了...
分类:
编程语言 时间:
2015-08-25 14:06:51
阅读次数:
173
Map :存储的是键值对,一对一对出现的,要保证键的唯一性.Map常见的三个子类. 1.HashTable 底层是哈希表结构,不能存在null的情况.该集合是线程同步的.效率低 此类实现一个哈希表,该哈希表将键映射到相应的值。任何非 null 对象都可以用作键或值。2.HashMap 底层是哈希表数...
分类:
其他好文 时间:
2015-08-25 14:04:55
阅读次数:
206
event.target说明:引发事件的DOM元素。this和event.target的区别js中事件是会冒泡的,所以this是可以变化的,但event.target不会变化,它永远是直接接受事件的目标DOM元素;this和event.target的相同点this和event.target都是dom...
分类:
Web程序 时间:
2015-08-25 14:07:00
阅读次数:
176
iOS标准时间与时间戳相互转换(2012-07-18 17:03:34)转载▼标签:ios时间戳标准时间格式设置转化杂谈分类:iPhone开发设置时间显示格式:NSString* timeStr = @"2011-01-26 17:40:50";NSDateFormatter *formatter ...
分类:
移动开发 时间:
2015-08-25 14:06:15
阅读次数:
269
sql语法学习(适合新手)1.插入数据语法格式: INSERT [INTO] [列名] VALUES insert into students(sname,saddress,sgrade,semall,ssex) values('张青','上海松江',6,'zqc@sohu.com',0)1.1 ....
分类:
数据库 时间:
2015-08-25 14:06:34
阅读次数:
1647
1095. Cars on Campus (30)Zhejiang University has 6 campuses and a lot of gates. From each gate we can collect the in/out times and the plate numbers o...
分类:
其他好文 时间:
2015-08-25 14:04:16
阅读次数:
372
配置数据库:连接字符串:server=潘尚\\SQLEXPRESS;database=db_test;Trusted_Connection=true连接代码:using System;using System.Collections.Generic;using System.Data.SqlClie...
分类:
数据库 时间:
2015-08-25 14:06:27
阅读次数:
178
DescriptionThe aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because th...
分类:
其他好文 时间:
2015-08-25 14:05:56
阅读次数:
168
代码片段如下:long triptime;long now;triptime = (now - *((uint32_t *)(icp->icmp_data)));上述代码在编译时由于打开了-Wall -Os选项,编译器会上报如下告警dereferencing type-punned pointer ...
分类:
其他好文 时间:
2015-08-25 14:03:01
阅读次数:
233
方法列表说明关于static const JNINativeMethod method_table[]方法列表的原型如下:[cpp]view plaincopytypedefstruct{constchar*name;constchar*signature;void*fnPtr;}JNINative...
分类:
其他好文 时间:
2015-08-25 14:05:01
阅读次数:
118
1.首先我们看一段代码: for(int i=0;i<1000;i++){ for(int j=0;j<100;j++){ for(int k=0;k<10;k++){ testFunct...
分类:
移动开发 时间:
2015-08-25 14:04:31
阅读次数:
168
从目前来看,unity3d在ios上用的ll2cpp还是有bug的,项目中用的c#版本的box2D在ios上就出现了诡异的现象,将其切换到mono后端的时候一切正常。在目前的版本情况下(ios上必须用ll2cpp来支持64bit),只有用原生的box2D版本来避免ll2cpp的犯错。另外一个比较正常...
分类:
编程语言 时间:
2015-08-25 14:03:11
阅读次数:
233
题意:求1到n有多少个数中含有49,14,ans+=dp[i-1][1];#include#includeusing namespace std;long long dp[25][3];/*dp[i][0],不含有49dp[i][1],不含有49,最高位为9dp[i][2],含有49*/void i...
分类:
其他好文 时间:
2015-08-25 14:04:24
阅读次数:
108
http://blog.csdn.net/ctthuangcheng/article/details/8963551linux core文件设置分类:Linux OSDebugging Technique2013-05-23 09:511446人阅读评论(0)收藏举报在Linux中,一般当进程非正常...
分类:
系统相关 时间:
2015-08-25 14:04:32
阅读次数:
174