import java.io.*;import java.util.*;public class
Logon implements Serializable { /** * */ private static final long
serialVersionUID = ...
分类:
其他好文 时间:
2014-05-22 03:28:21
阅读次数:
215
博客园内置支持SyntaxHighlighter代码着色,代码着色语法:代码。
需要注意的是:如何你使用SyntaxHighlighter代码着色,需要将默认编辑器改为TinyMCE。如果使用CuteEditor,CuteEditor会自动去除代码中的空格,造成代码格式破坏。
如果您使用Window...
题目:We all know that Bin-Laden is a notorious
terrorist, and he has disappeared for a long time. But recently, it is reported
that he hides in Hang Zho...
分类:
其他好文 时间:
2014-05-22 01:09:55
阅读次数:
328
PHP字符串常用的操作函数strval 把变量转换成字符串strrev 反转字符串trim
去掉字符串首尾半角空格ltrim 去掉左边半角的英文空格rtrim 去掉右边半角的英文空格strlen 取字符串的长度 long lengthsubstr
截取子字符串strrchr 查找字符在字符串中最后出...
分类:
Web程序 时间:
2014-05-21 23:25:34
阅读次数:
423
数据类型
java数据类型基本数据类型数值型整型byte/short/int/long浮点型/double/float字符型char布尔型boolean取值true
false对象数据类型类Class接口 interface数组array[]类型 对象位数字节数最小值最大值byte Byte...
分类:
编程语言 时间:
2014-05-21 22:26:43
阅读次数:
317
#include
#include
#include
typedef unsigned short WORD;
typedef unsigned long DWORD;
typedef unsigned char BYTE;
/*
typedef struct tagBITMAPFILEHEADER {
WORD bfType;
DWORD bfSize;
W...
分类:
其他好文 时间:
2014-05-21 16:08:23
阅读次数:
347
题目链接:uva 11645 - Bits
题目大意:给出n,问从0到n这n+1个数种,数的二进制情况下,有多少11存在。
解题思路:和uva 11038一个类型的题目,只是这道题目是对于二进制下的情况。而且高精度部分可以用两个long long数解决。
#include
#include
typedef long long ll;
const int N = 100;
con...
分类:
其他好文 时间:
2014-05-21 11:17:49
阅读次数:
222
1.long型数据的计算
之前在写到关于一个时间的小软件时,System.currentTimeMillis()返回的是从1970年1月1日到现在的毫秒数,是long型的,需要给这个加上一个数字。
比如:
long curTime = System.currentTimeMillis();// 获取当前时间
long deadLineTime = curTime+(30*24*60*6...
分类:
移动开发 时间:
2014-05-21 09:41:55
阅读次数:
286
如何往clob类型中插入一个超过10000 bytes 的字符串
You'll have to assign the value to a variable & use the variable to insert the data
DECLARE
v_long_text CLOB;
BEGIN
v_long_text := '...
分类:
其他好文 时间:
2014-05-21 09:14:36
阅读次数:
225
这近碰到很问题,问题的根本就是自己的基础不太好,虽然已经干了很久了,还是感觉得要修修内功,内功心法是学习其他功夫的基础,基础一定要打好。java的基本数据分为四组八种:布尔型:boolean(1/8字节)1位字节型:char(1字节)整数型:byte(2字节)short(2字节)int(4字节)long(8字节..
分类:
编程语言 时间:
2014-05-20 20:59:45
阅读次数:
480