免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3770 | 回复: 12

[C] 关于指针的本质,不涉及本质的本质........ [复制链接]

论坛徽章:
0
发表于 2012-11-09 14:14 |显示全部楼层

指针的本质是带类型的存储地址,对么?
为了严谨,语境是一个C语言虚拟机器,即它认识C,但不认识汇编、指令什么的

论坛徽章:
0
发表于 2012-11-09 14:38 |显示全部楼层
计算机内部的实际数据,逻辑上只有0和1,指针实际形态也是一串0和1组成,本质上就是数,不过编译器对指针的处理是当作了一个地址值来看罢了.

论坛徽章:
11
摩羯座
日期:2013-09-16 11:10:272015亚冠之阿尔萨德
日期:2015-06-12 22:53:29午马
日期:2014-04-15 11:08:53亥猪
日期:2014-03-02 23:46:35申猴
日期:2013-12-06 22:07:00亥猪
日期:2013-11-28 12:03:13双鱼座
日期:2013-11-21 14:43:56亥猪
日期:2013-10-23 10:55:49处女座
日期:2013-10-17 18:15:43午马
日期:2013-09-27 17:40:4215-16赛季CBA联赛之青岛
日期:2016-06-22 00:45:55
发表于 2012-11-09 14:59 |显示全部楼层
本帖最后由 Ager 于 2012-11-09 15:05 编辑

昨天就看到了关于“本质”的大争论 ……

关于这个问题,我就扯一点点:

“本质”一词坏处有很多,除非到了万不得已的时候,或确信已有预先约定的共识作为可靠的基础语境,才用它;否则,就不要用它,要回避。

“本质”这个范畴,很容易妨碍我们认识复杂的事物事物的复杂

所以,为了阐释清楚问题,不如采用如下的叙事:

(1)它是什么(模样的)?

(2)它是什么?

(3)它的用途(或Purpose)是什么?

(4)我们应该如何用它

尤其是第(3)、(4)点,让我们为那些对于他人来说完全陌生的事物,找到可靠的阐释方法,成为可能。

在我看来:

这个世界,除了现象,没有本质。

„Zu den Sachen selbst!“


论坛徽章:
0
发表于 2012-11-09 15:20 |显示全部楼层
来自维基

In philosophy, essence is the attribute or set of attributes that make an entity or substance what it fundamentally is, and which it has by necessity, and without which it loses its identity. Essence is contrasted with accident: a property that the entity or substance has contingently, without which the substance can still retain its identity. The concept originates with Aristotle, who used the Greek expression to ti ên einai, literally 'the what it was to be', or sometimes the shorter phrase to ti esti, literally 'the what it is,' for the same idea. This phrase presented such difficulties for his Latin translators that they coined the word essentia (English "essence" to represent the whole expression. For Aristotle and his scholastic followers the notion of essence is closely linked to that of definition (horismos).[1]

In the history of western thought, essence has often served as a vehicle for doctrines that tend to individuate different forms of existence as well as different identity conditions for objects and properties; in this eminently logical meaning, the concept has given a strong theoretical and common-sense basis to the whole family of logical theories based on the "possible worlds" analogy set up by Leibniz and developed in the intensional logic from Carnap to Kripke, which was later challenged by "extensionalist" philosophers such as Quine.

第二段看不懂

论坛徽章:
0
发表于 2012-11-09 15:27 |显示全部楼层
xinp123 发表于 2012-11-09 14:38
计算机内部的实际数据,逻辑上只有0和1,指针实际形态也是一串0和1组成,本质上就是数,不过编译器对指针的处理 ...


不要脱离语境

C语言认识0和1,比如位域,但不认识'计算机内部的实际数据'...............

C语言认识存储,因为库函数有malloc()........

也认识地址,因为s[0],s[1],.......

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
发表于 2012-11-09 17:09 |显示全部楼层
The fact or true is that we are living the fucking matrix.

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
发表于 2012-11-09 17:09 |显示全部楼层
:wink:

论坛徽章:
1
2015亚冠之卡尔希纳萨夫
日期:2015-07-14 12:20:38
发表于 2012-11-09 17:30 |显示全部楼层

作为意志和表象的世界。

论坛徽章:
4
水瓶座
日期:2013-09-06 12:27:30摩羯座
日期:2013-09-28 14:07:46处女座
日期:2013-10-24 14:25:01酉鸡
日期:2014-04-07 11:54:15
发表于 2012-11-10 11:57 |显示全部楼层
指针存地址, 这就是本质.

论坛徽章:
0
发表于 2012-11-10 12:27 |显示全部楼层
回复 3# Ager


    每次看你的回复都要看好久。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP