1.java中的8种原生数据类型
1)整形:使用int表示
2)字节型:使用byte表示
3)短整型:使用short表示
4)长整形:使用long表示
5)单精度浮点型:使用float表示。所谓浮点型,指的就是小树,也叫做实数,比如1.2
6)双精度浮点型:使用double表示。双进度浮点型表示的数据范围要比单精度浮点型大
7)字符型:使用char表示。(char是charact...
分类:
编程语言 时间:
2015-06-04 09:57:55
阅读次数:
194
一、MAC帧头定义/*数据帧定义,头14个字节,尾4个字节*/typedef struct _MAC_FRAME_HEADER { char m_cDstMacAddress[6];//目的mac地址 char m_cSrcMacAddress[6];//源mac地址 short m_cType; ...
分类:
系统相关 时间:
2015-06-03 22:54:45
阅读次数:
196
用法1: jmp short 标号(转到标号处执行指令)这种格式的 jmp 指令实现的是段内短转移,它对IP的修改范围为 -128~127,也就是说,它向前转移时可以最多越过128个字节,向后转移可以最多越过127个字节。段内转移,只修改IP,比如jmp ax段间转移,同时修改CS和IP,比如jmp...
分类:
编程语言 时间:
2015-06-03 19:07:31
阅读次数:
141
WCF contracts are version tolerant by default. Figure 1 and Figure 2 summarize typical changes to service contracts and data
contracts and describe the impact to existing clients. In short, the Data...
分类:
其他好文 时间:
2015-06-03 12:03:32
阅读次数:
169
Android 实现记住用户名和密码的功能结果演示:
源代码下载地址:https://github.com/GXS1225/Android————-.git分析(1)判断是否输入了账号和密码 if(name.trim().equals("")){
Toast.makeText(this, "请您输入用户名!", Toast.LENGTH_SHORT).show...
分类:
移动开发 时间:
2015-06-02 09:27:38
阅读次数:
279
Sicily 14551. Jury Jeopardy题目思路给定DFS路径,还原地图。代码#include
#include const short DIR[4][2] = { 0, 1, 1, 0, 0, -1, -1, 0 };int main() {
int caseNum;
scanf("%d", &caseNum);
pri...
分类:
其他好文 时间:
2015-06-02 08:06:10
阅读次数:
123
PHPNG (next generation)This page gives short information about development state of a new PHP branch based on refactored Zend Engine.The phpng branch ...
分类:
Web程序 时间:
2015-06-02 00:06:11
阅读次数:
141
通过POI来进行单元格格式的设定
设定格式使用「HSSFCellStyle」类。它有一个构造方法:
protected HSSFCellStyle(short index, ExtendedFormatRecord rec)
虽然有构造方法,但却是protected的,所以不能直接使用,要通过一个工作簿workbook来生成格式对象。
在POI里,格式好像是以workbook为单...
分类:
其他好文 时间:
2015-06-01 22:45:02
阅读次数:
826
static externif elseswitch casewhile-----do while forgotocontinue breakint double short long float char enum union struct typedefsizeofconstsiged uns....
分类:
编程语言 时间:
2015-06-01 16:21:07
阅读次数:
142