#include 2
3 int main(int argc, const char *argv[])
4 {
5 int i = 1;
6 int *p;
7 p = &i;
8 char *pc;
9 pc = p;//assign a point to int to pointrer to char ,it brings a
10 //warning , but it is safe , because all point typr have 32 bit s //pace
11 printf("pc = %x\n",*(pc));
12 printf("pc+1 = %x\n",*(pc+1));
13 printf("pc+2 = %x\n",*(pc+2));
14 printf("pc+3 = %x\n",*(pc+3));
15 printf("pc = %x\n",pc);
16 printf("pc+1 = %x\n",pc+1);
17 printf("pc+2 = %x\n",pc+2);
18 printf("pc+3 = %x\n",pc+3);
19
20 return 0;
21 }
fewcvbdcs 于 2012-10-25 11:53:46发表:
顶!!!!!!!!!!
于 2012-10-25 07:42:30发表:
好像下不了??
nishui333 于 2011-08-13 11:24:33发表:
学习中,努力中
nishui333 于 2011-08-13 11:24:30发表:
学习中,努力中
nishui333 于 2011-08-13 11:23:27发表:
#include
2
3 int main(int argc, const char *argv[])
4 {
5 int i = 1;
6 int *p;
7 p = &i;
8 char *pc;
9 pc = p;//assign a point to int to pointrer to char ,it brings a
10 //warning , but it is safe , because all point typr have 32 bit s //pace
11 printf("pc = %x\n",*(pc));
12 printf("pc+1 = %x\n",*(pc+1));
13 printf("pc+2 = %x\n",*(pc+2));
14 printf("pc+3 = %x\n",*(pc+3));
15 printf("pc = %x\n",pc);
16 printf("pc+1 = %x\n",pc+1);
17 printf("pc+2 = %x\n",pc+2);
18 printf("pc+3 = %x\n",pc+3);
19
20 return 0;
21 }
zhzmouse 于 2010-06-20 21:00:40发表:
继续顶
dylyyc 于 2010-06-20 20:36:16发表:
刚学会走路,望楼主支持。
xiaomai01 于 2010-05-26 15:15:58发表:
顶!~
sclzwj 于 2010-01-05 19:50:27发表:
谢谢分享!
WSHXX 于 2010-01-05 17:34:37发表:
dingle
nflzx 于 2009-11-17 00:15:05发表:
谢谢!楼主辛苦
tanghaiwei 于 2009-07-30 08:43:07发表:
顶一下。
{:2_99:}
110808 于 2009-07-30 00:49:33发表:
下载失效!!可惜,不过还是要谢谢
cxb771122 于 2008-02-28 14:24:34发表:
hao hao hao
wmmshm 于 2008-01-25 15:33:26发表:
我是新手我下了。
否极泰来 于 2008-01-24 14:25:35发表:
学习中
wangzh 于 2008-01-20 00:23:27发表:
支持支持啊。(q):s
ljzforever 于 2008-01-09 17:05:13发表:
thanks
chxueli 于 2008-01-04 13:45:02发表:
顶啊,菜鸟刚开始学习
ouaygnshenhua 于 2007-09-29 11:06:22发表:
怎么有的下不了啊
ouaygnshenhua 于 2007-09-29 11:05:04发表:
:0L 我是新手
我来顶起
ygming123 于 2007-05-28 09:46:54发表:
谢谢
onebiglazycat 于 2006-12-20 11:35:03发表:
菜鸟学习的好地方
好资料
iloveu598 于 2006-12-19 22:59:43发表:
ik
xzt.man 于 2006-12-19 17:05:52发表:
:0L
rainofwind 于 2006-11-08 22:41:44发表:
谢谢楼主!:time:1
于 2006-11-08 13:15:16发表:
我想?LINUX想到?了拉。。你????到底?用不?用吖??是中文教程?是英文的吖?
hanyuhu 于 2006-11-06 15:04:18发表:
ding
于 2006-11-06 12:39:51发表:
:0Q
houlujie 于 2006-11-06 10:30:39发表:
ding
于 2006-11-06 10:28:45发表:
:0)1
influenza365 于 2006-11-02 17:41:55发表:
谢谢了
hytyty 于 2006-11-02 13:43:33发表:
不知道有没有课件可以下啊
vanbastan 于 2006-11-02 11:44:12发表:
噢也学习
juanshuchun 于 2006-11-02 11:05:24发表:
ding
zhao 于 2006-10-31 18:30:11发表:
go on
zhao 于 2006-10-31 18:29:44发表:
继续
zhao 于 2006-10-31 18:29:13发表:
ding
zhao 于 2006-10-31 18:18:18发表:
ding
ycyycy8484 于 2006-10-30 09:28:38发表:
顶啊,菜鸟刚开始学习