可用如sizeof(char),sizeof(char*)等得出32位编译器char :1个字节char*(即指针变量): 4个字节(32位的寻址空间是2^32, 即32个bit,也就是4个字节。同理64位编译器)short int : 2个字节int: 4个字节unsigned int : 4个字...
分类:
移动开发 时间:
2015-09-06 12:41:49
阅读次数:
143
OS:Win7 ,Tools:VS2015DateTime.h#pragma oncestruct DateTime{public: unsigned Year; // years since 1900 unsigned short Month; // months s...
分类:
编程语言 时间:
2015-09-05 17:49:53
阅读次数:
329
byte 1个字节 short 2个字节 int 4个字节long 8 个字节varchar 可变长度的非Unicode数据,最长为8000个字符nvarchar 可变长度Unicode数据,最长为4000个字符char 固定长度的非Unicode数据,最长为8000个字符nchar 固定长度的Un...
分类:
编程语言 时间:
2015-09-05 12:32:23
阅读次数:
208
char类型的长度被定义为一个8位字节,这很简单。short类型的长度至少为两字节。在有些计算机上,对于有些编译程序,short类型的长度可能为4字节,或者更长。int类型是一个整数的“自然”大小,其长度至少为两字节,并且至少要和short类型一样长。在16位计算机上,int类型的长度可能为两字节;...
分类:
其他好文 时间:
2015-09-05 11:02:53
阅读次数:
138
转自:http://www.cnblogs.com/zhxhdean/archive/2011/03/25/1995431.htmljava中的数据类型,可分为两类:1.基本数据类型 也称原始数据类型,byte,short,char,int,long,float,double,boolean,...
分类:
编程语言 时间:
2015-09-04 19:47:00
阅读次数:
211
得到显示器分辨率Dim X As Short = System.Windows.Forms.Screen.PrimaryScreen.Bounds.WidthDim Y As Short = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Heigh...
分类:
其他好文 时间:
2015-09-04 18:37:05
阅读次数:
259
1、首先java中每个类对象都有一个类字节码,都属于Class. java的9大基本数据类型:int、short、long、float、double、char、byte、boolen和void。它们对应的类与其对应的类对象是不一样的,如int.class==Integer.class返回false....
分类:
编程语言 时间:
2015-09-04 16:53:44
阅读次数:
196
用于对选中的部分进行格式更改,或者添加图片
这是Textview使用富文本
Toast和富文本结合使用,
Toast toast2 = Toast.makeText(getApplicationContext(), "这是个提示", Toast.LENGTH_SHORT);toast2.show();toast2.setGravity(Gravity.LEFT|Gravi...
分类:
Web程序 时间:
2015-08-30 17:35:30
阅读次数:
153
1、pwd:输出当前的工作目录命令格式:pwd[OPTION]...例子:[root@localhostetc]#pwd/etc2、echo:回显文本命令格式:echo[SHORT-OPTION]...[STRING]...echoLONG-OPTION选项:-n输出文本后不换行[root@localhost~]#echo‘hello!‘hello![root@localhost~]#echo-n‘hello‘hello[root..
分类:
系统相关 时间:
2015-08-30 01:15:00
阅读次数:
209
String lience=chepai_short.getText().toString()+chepai_number.getText().toString();
openmap.put("lience",lience.toString());
openmap.put("UserName", tv_username.getText().toString());
...
分类:
移动开发 时间:
2015-08-29 12:38:42
阅读次数:
148