免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: g050649
打印 上一主题 下一主题

C深度剖析 [复制链接]

论坛徽章:
0
501 [报告]
发表于 2012-06-23 12:51 |只看该作者
本帖最后由 hbmhalley 于 2012-06-23 12:54 编辑
kzl0629 发表于 2012-06-23 12:46
回复 524# hbmhalley
5.1.1.3 Diagnostics
1 A conforming implementation shall produce at least one diagnostic message (identified in
   an implementation-defined manner) if a preprocessing translation unit or translation unit
    contains a violation of any syntax rule or constraint, even if the behavior is also explicitly
   specified as undefined or implementation-defined.Diagnostic messages need not be
        produced in other circumstances.

真就不怕你强词夺理。你自己看这里面哪个地方单独提到diagnostic了。
     你真会YY

     诊断,包括给你检查身体,以及公布检查身体的结果,

    诊断信息 ,公布检查身体的结果

   你把diagnostic 翻译成诊断信息了??? 也就是手你认为diagnostic 和diagnostic message 是一个意思???

   回答是还是不是?
存个照

论坛徽章:
0
502 [报告]
发表于 2012-06-23 12:56 |只看该作者
回复 526# hbmhalley


    存的好啊,你的意思是diagnostic message 和diagnostic  不同了呗?? 是不是?  如果是否我就当你上楼是放屁

论坛徽章:
0
503 [报告]
发表于 2012-06-23 13:03 |只看该作者
本帖最后由 hbmhalley 于 2012-06-23 13:04 编辑
kzl0629 发表于 2012-06-23 12:56
回复 526# hbmhalley
存的好啊,你的意思是diagnostic message 和diagnostic  不同了呗?? 是不是?  如果是否我就当你上楼是放屁

当我放P?
我还当你放P呢。你有关diagnostic的一切都引自上面那段,而上面那段又没有单独提过diagnostic。
而且,就算单独提了,也是diagnostic message的意思。要证据么?

An implementation shall issue a diagnostic for the translation unit
Of course, an implementation is free to produce any number of diagnostics as long as a valid program is still correctly translated.
...the result is not a token and a diagnostic is required...

哪个diagnostic不是diagnostic message的意思?


总之,现在又开始扯开英语了是么?

论坛徽章:
0
504 [报告]
发表于 2012-06-23 13:08 |只看该作者
回复 528# hbmhalley


    你这楼的意思不还是说diagnostic message 跟 diagnostic 是一个意思么??对不对??? 我现在问你是不是一个意思,你扯别的有什么用啊?? 转移话题??胡搅蛮缠??

论坛徽章:
0
505 [报告]
发表于 2012-06-23 13:08 |只看该作者
本帖最后由 hbmhalley 于 2012-06-23 13:15 编辑

回复 529# kzl0629


    至少在本标准的所有上下文中,对!


不能说所有上下文,我看见还有关于assert的也用的是"diagnostic"字眼。
但是不影响是吧

论坛徽章:
0
506 [报告]
发表于 2012-06-23 13:24 |只看该作者
回复 530# hbmhalley


    你真是奇葩了,在正规的文档中同一个意思的用两个词表示是错误的,

   “不能说所有上下文,我看见还有关于assert的也用的是"diagnostic"字眼。”

   这句话更奇葩了,一个词在一本书中的意思只有一个,如果有两个或多个要有详细无误的解释否则会产生歧义,懂???

    你不懂写文章的基本准则就不要YY ,就是普通的毕业论文这么写被发现都会被批的,何况是一个国际上正规的标准

   如果是按你说的意思,编辑那都过不去,懂????

   标准小标题1.说的是diagnostic 的一部分diagnostic message  

   标准小标题2.中你看到提diagnostic message 了 ??

   你凭什么就说diagnostic message  和diagnostic 就说一个意思了??哪里给你的这个根据,除了你自己没看懂YY的

你发的Of course, an implementation is free to produce any number of diagnostics as long as a valid program is still correctly translated.
...the result is not a token and a diagnostic is required是第一段一个词的注释

这个是小标题2的内容  An implementation shall issue a diagnostic for the translation unit 讲的是两个事,否则不会分为两个标题了,不要混淆

论坛徽章:
0
507 [报告]
发表于 2012-06-23 13:31 |只看该作者
kzl0629 发表于 2012-06-23 13:24
回复 530# hbmhalley
你真是奇葩了,在正规的文档中同一个意思的用两个词表示是错误的,

   “不能说所有上下文,我看见还有关于assert的也用的是"diagnostic"字眼。”

   这句话更奇葩了,一个词在一本书中的意思只有一个,如果有两个或多个要有详细无误的解释否则会产生歧义,懂???

    你不懂写文章的基本准则就不要YY ,就是普通的毕业论文这么写被发现都会被批的,何况是一个国际上正规的标准

   如果是按你说的意思,编辑那都过不去,懂????

   标准小标题1.说的是diagnostic 的一部分diagnostic message  

   标准小标题2.中你看到提diagnostic message 了 ??

   你凭什么就说diagnostic message  和diagnostic 就说一个意思了??哪里给你的这个根据,除了你自己没看懂YY的

你发的Of course, an implementation is free to produce any number of diagnostics as long as a valid program is still correctly translated.
...the result is not a token and a diagnostic is required是第一段一个词的注释

这个是小标题2的内容  An implementation shall issue a diagnostic for the translation unit 讲的是两个事,否则不会分为两个标题了,不要混淆

别拿你那渣英语在出来显摆了好么?不分上下文还成本事了?
照你那么说,我给你把assert里的贴出来
The assert macro puts diagnostic tests into programs

assert的diagnostic根本就是运行时的。歧义了?按你的说法,歧义了!上下文不同就叫歧义了!

凭什么说?任何一个看得懂英文的都这么说,你让我给你严格证明我给不了你,我又不是英语专业的,但起码是个懂介词前置定语从句的英语及格的人。你呢?bb什么?

论坛徽章:
0
508 [报告]
发表于 2012-06-23 13:41 |只看该作者
回复 532# hbmhalley


    你先向高手求证那个介词前置的正确性再说,别在这丢人,说了跟你这种档次的说不明白
   
   1.   上下文你要有个限度,既然一个意思标准的文档就要用一个词表示,一会换一个你以为是你写文章呢?? 别那么胡搅蛮缠行吗???

   2. The assert macro puts diagnostic tests into programs 如何歧义了??

   diagnostic  这个是诊断, 没特指诊断信息,是你一厢情愿的认为是诊断信息

   运行时??有关系吗???诊断就一定是编译错误吗?? 指给出diagnostic message不可以吗

  3.  diagnostic message 属于diagnostic一部分   但是你不能说diagnostic  就是diagnostic message
这是小标题2里的话,
the constraint error shall be diagnosed。  
  diagnosed 你给你解释???

论坛徽章:
2
程序设计版块每日发帖之星
日期:2015-06-17 22:20:00每日论坛发贴之星
日期:2015-06-17 22:20:00
509 [报告]
发表于 2012-06-23 13:48 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
2
程序设计版块每日发帖之星
日期:2015-06-17 22:20:00每日论坛发贴之星
日期:2015-06-17 22:20:00
510 [报告]
发表于 2012-06-23 13:53 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP