Short answer: no practical danger yet, but read on for a better way...What's this ptrace thing anyway?this is due to a bug in the Ubuntu kernel that p...
分类:
其他好文 时间:
2014-08-13 12:36:16
阅读次数:
697
/**
* 功能:联合体使用
* 时间:2014年8月1日17:04:23
* 作者:cutter_point
*/
#include
#include
using namespace std;
union Packed
{
char i;
short j;
int k;
long l;
float f;
double d; //这个联合体...
分类:
编程语言 时间:
2014-08-13 10:39:05
阅读次数:
262
C/C++的数据类型:一,整型Turbo C: [signed] int 2Byte//有符号数,-32768~32767 unsigned int 2Byte //无符号数,只能表示整数0~65535 [signed] short [int] 2Byte unsigned short [int] ...
分类:
编程语言 时间:
2014-08-12 21:23:55
阅读次数:
863
/**
* 功能:说明符,探讨数据类型的大小
* 时间:2014年8月10日11:02:02
* 作者:cutter_point
*/
#include
using namespace std;
int main()
{
char c;
unsigned char cu;
short int is;
short iis;
unsigned short ...
分类:
编程语言 时间:
2014-08-10 13:05:00
阅读次数:
227
java中给函数传递参数的方式有两种:值传递和引用传递。一般而言,基本类型是值传递;引用类型是引用传递。但传值时到达发生了什么?1.基本类型8个基本类型(byte,short,int,long,float,double,char,boolean)是值传递. 1 public class ValueT...
分类:
编程语言 时间:
2014-08-10 10:20:30
阅读次数:
361
类名常用方法说明输入流InputStreamint read();只能读字节流,虽然返回值是int,但只有低8位起作用。DataInputStreamType readType();可以读二进制流,可以读byte,short,int,long,double等二进制流。BufferedReader ....
分类:
编程语言 时间:
2014-08-10 03:53:39
阅读次数:
219
java中给函数传递参数的方式有两种:值传递和引用传递。一般而言,基本类型是值传递;引用类型是引用传递。但传值时到达发生了什么?1.基本类型8个基本类型(byte,short,int,long,float,double,char,boolean)是值传递. 1 public class ValueT...
分类:
其他好文 时间:
2014-08-10 01:45:20
阅读次数:
176
#include #include using namespace std;const int N=100;const int M=100;typedef struct //定义迷宫结构 { char c; short int p_row,p_col,step;}Maze; Maze a[N][.....
分类:
其他好文 时间:
2014-08-09 21:20:19
阅读次数:
382
数据类型 类型 bits/byte 范围 默认值 byte 8/1 -128 +127 0 short 16/2 -32,768+32,767 0 int 32/4 -2,147,483,648 = -231+2,147,483,647 = 231-1 0 long 64/8 -9,223,372,...
分类:
编程语言 时间:
2014-08-09 02:32:07
阅读次数:
243
一.值类型和引用类型1>值类型和引用类型将我们学过的数据类型划分成了两部分. 划分的依据是不同类型的数据在内存中(堆栈)存储的结构不同.2>值类型:所有的数值类型:long int short byte ulong uint ushort sbyte decimal duoble float cha...
分类:
其他好文 时间:
2014-08-08 23:42:46
阅读次数:
374