There is a link about how to re-set password.http://database.51cto.com/art/201010/229528.htmwords in short,two lines mysql> UPDATE mysql.user SET p...
分类:
数据库 时间:
2014-07-19 19:12:31
阅读次数:
410
1:值类型八大类型:整性—>byte(1字节),short(2字节),int(4字节),long(8字节); 浮点数—>float(4字节)--8位整,23位小数,1位符号;double(8字节)--11位整数,52位小数,1位符号 字符—>char(2字节)---汉语的原因吧 逻辑型—>bool(...
分类:
编程语言 时间:
2014-07-19 00:25:55
阅读次数:
198
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include "hkk24.h"
typedef unsigned long U32;
typedef unsigned short U16;
type...
分类:
其他好文 时间:
2014-07-18 15:14:56
阅读次数:
398
一://如果超过此时间,则不能进入程序if (isExpiredLocal(2013, 7, 07)) {Toast.makeText(this, "EXPIRED!", Toast.LENGTH_SHORT).show();this.finish();(this为进入程序的Activity)ret...
分类:
其他好文 时间:
2014-07-16 18:56:50
阅读次数:
265
题意;5Ab3bd加上多少个字符可以是字符串为回文串#includeusing namespace std;short dp[5005][5005];char s1[5005],s2[5005];int fmax(int x,int y){ if(x>y) return x; return y;}i...
分类:
其他好文 时间:
2014-07-16 18:39:41
阅读次数:
164
[libvirt] FYI: a short guide to libvirt & network filtering iptables/ebtables use Firewall / network filtering in libvirt ============================...
分类:
Web程序 时间:
2014-07-16 18:20:26
阅读次数:
348
自动类型转换(也叫隐式类型转换)
强制类型转换(也叫显式类型转换)
类型转换的原理
什么时候要用强制类型转换?
表达式的 数据类型自动提升
? 所有的byte型、short型和char的值将被提升到int型。
? 如果一个操作数是long型,计算结果就是long型;
? 如果一个操作数是float型,计算结果就是float型;
? 如果一个操作数是double型,计...
分类:
编程语言 时间:
2014-07-16 17:32:50
阅读次数:
201
Size of Data TypesAlways use sizeof() to get the size of types(sizeof(char), sizeof(short), sizeof(int)...)Do not depend on the order of evaluation in...
分类:
其他好文 时间:
2014-07-16 15:51:58
阅读次数:
191
ecshop的浏览历史的样式,例如我修改的是只让浏览历史显示浏览历史的商品名称 而不显示浏览历史的商品的价格和图片首先找到要修改 的文件includes\lib_insert.php找到函数function insert_history()函数里面的$str.=''.$goods['short_n....
分类:
其他好文 时间:
2014-07-14 19:42:09
阅读次数:
200
区间动规主要有两种方法:
一、是先想出递归式,然后将之转化为滚动数组。
二、或者从小区间贪到大区间。
POJ 1159 点击打开链接
AC代码如下:
#include
#include
#include
using namespace std;
char a[5005];
short dp[5005][5005];
int min(int a,int b)
{
retu...
分类:
其他好文 时间:
2014-07-14 14:01:43
阅读次数:
187