变量的修饰符 1、修饰长度(针对64位操作系统) int 4字节 short 2字节 %hd long 8字节 %ld long long 8字节 %lld unsigned int 4字节 %u unsigned short 2字节 %hu unsigned long 8字...
分类:
编程语言 时间:
2014-12-27 01:27:29
阅读次数:
299
ushort与short的区别:ushort:0-65535(范围),无符号16位整数,.net framework类型--System.UInt16short:-32768-32767,有符号16位整数,.net framework类型--System.Int16XML读写文件,删除节点复习: p...
分类:
其他好文 时间:
2014-12-26 18:11:13
阅读次数:
113
1单向if语句双向if语句dangling elseswitch:char,byte,short,int2javax.swing.JOptionPane.showConfirmDialog(null,text);返回值:JOptionPane.YES_OPTION:0JOptionPane.NO_O...
分类:
编程语言 时间:
2014-12-26 06:06:48
阅读次数:
387
【1】数据类型划分: a.基本数据类型:boolean,tyte,char,short,int,long,float,double b.引用数据类型:它以一种特殊的方式指向变量的实体(类似于指针)这类变量在声明时不会分配内存,必须另外进行开辟内存空间的操作。---类,接口,数组 c.当声明一个数组时...
分类:
编程语言 时间:
2014-12-25 20:12:25
阅读次数:
247
// Database objectHRESULT CDB::Read(short nTable, short nRow, LPWSTR lpszData) { CStringArray *pTable; pTable=(CStringArray*) m_arrTables[nTable];#i.....
分类:
其他好文 时间:
2014-12-25 12:47:45
阅读次数:
93
在大端机器(solaris-sparc,hpux-hppa)上从奇数内存地址取一个整形(2 or 4 bytes)会崩溃。如:unsigned short Res = *(unsigned short *) tmpArray;应该: char tmpArray[sizeof(unsigned sho...
分类:
其他好文 时间:
2014-12-24 16:08:51
阅读次数:
188
1原始数据类型(primitive data type) == 基本类型 (fundamental type)byte short int long float double char boolean引用类型 reference type2System.in System.outjava.util....
分类:
编程语言 时间:
2014-12-24 09:59:59
阅读次数:
221
import requestsimport jsonimport hashliburl = 'http://a.qbao.com/short'param={"longUrl":r"http://m.qianbao666.com/api/v30/share4Client/share?type=3&pr...
分类:
其他好文 时间:
2014-12-23 19:21:56
阅读次数:
151
1 概述计数信号量集semid_ds:struct semid_ds{ struct ipc_perm sem_perm; struct sem *sem_base; //指向信号量结构数组 unsigned short ...
分类:
其他好文 时间:
2014-12-23 17:07:00
阅读次数:
199
①数据类型:基本数据类型和引用数据类型//----------------------------------------基础数据类型:数值型(整数类型byte,short,int,long浮点类型float,double),字符型,布尔型引用数据类型:类,接口,数组//--------------...
分类:
编程语言 时间:
2014-12-22 22:47:15
阅读次数:
244