| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1807 人关注过本帖
标题:dereferencing the pointer 怎麼翻譯
只看楼主 加入收藏
chenjin145
Rank: 1
等 级:禁止访问
帖 子:3922
专家分:0
注 册:2006-7-12
收藏
 问题点数:0 回复次数:2 
dereferencing the pointer 怎麼翻譯
Pointers to stack variables are often used
in C to allow functions to modify variables in other stack frames, essentially passing by reference. By
dereferencing the pointer, the function can change the memory that represents the variable even though
that variable isn’t in the current stack frame. This is less common in C++ because C++ has a better mechanism,
called references, which is covered below.

[此贴子已经被作者于2006-11-3 9:36:00编辑过]

搜索更多相关主题的帖子: pointer 
2006-11-03 09:34
曾小
Rank: 1
等 级:新手上路
威 望:1
帖 子:239
专家分:0
注 册:2006-9-27
收藏
得分:0 
不好意思!
好象我帮不上忙!

2006-11-25 12:45
yuyunliuhen
Rank: 6Rank: 6
等 级:贵宾
威 望:20
帖 子:1435
专家分:0
注 册:2005-12-12
收藏
得分:0 

指向堆栈变量的指针经常被用到,在C里面允许以函数以堆栈的结构(框架)的形式更改变量,也就是参数传递。通过解除指针的参照,函数可以改变象征变量的内存即使这个变量不存在于当前的堆栈(框架)中。。。。。


大概是这个意思吧,不知道错了没?

Go confidently in the  directions of your dreams,live the life you have imagined!Just do it!
It is no use learning without thinking!
2006-12-25 16:53
快速回复:dereferencing the pointer 怎麼翻譯
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.042614 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved