gets()已经死了

编程入门 行业动态 更新时间:2024-10-25 16:22:03
本文介绍了gets()已经死了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在讨论组comp.std.c中,Gwyn先生写道: <引用> ....获取已被宣布为过时功能,并且/ b $ b已被弃用,这是我提交DR的直接结果 (最初暗示一个不那么剧烈的变化)。 (官方 影响等待将最新批次的TC包装成正式的 修改文件,并获得批准和发布。) <结束报价> 这是一个非常积极的发展。在所有这些讨论之后, 理由占了上风,我们摆脱了那个疣。 它*可能会影响到看起来的对手。 /> 这是个好消息。 jacob

In the discussion group comp.std.c Mr Gwyn wrote: < quote > .... gets has been declared an obsolescent feature and deprecated, as a direct result of my submitting a DR about it (which originally suggested a less drastic change). (The official impact awaits wrapping up the latest batch of TCs into a formal amending document, and getting it approved and published.) < end quote > This is a very positive development. After all those discussions, reason prevailed and we got rid of that wart. It *is* possible to influence the comitee as it seems. This is good news. jacob

推荐答案

4月25日星期三2007 01:02:04 + 0200,jacob navia < ja *** @ jacob.remcomp.frwrote: On Wed, 25 Apr 2007 01:02:04 +0200, jacob navia <ja***@jacob.remcomp.frwrote: > <引用> ...获取已被宣布为过时功能和 已弃用,这是我提交DR的直接结果 (最初表明变化不大)。 (官方 影响等待将最新批次的TC包装成正式的 修改文件,并获得批准和发布。) <结束报价> > < quote > ... gets has been declared an obsolescent feature and deprecated, as a direct result of my submitting a DR about it (which originally suggested a less drastic change). (The official impact awaits wrapping up the latest batch of TCs into a formal amending document, and getting it approved and published.) < end quote >

RIP G. - 电子邮件:info< at> simple-line< Punkt> de

R.I.P. G. -- E-mail: info<at>simple-line<Punkt>de

Gregor H.< nomail @ invalidwrites: Gregor H. <nomail@invalidwrites: 2007年4月25日星期三01:02:04 +0200,jacob navia < ja *** @ jacob.remcomp.frwrote: On Wed, 25 Apr 2007 01:02:04 +0200, jacob navia <ja***@jacob.remcomp.frwrote: ><引用> ...获取已被宣布为过时功能并且已弃用,这是我提交DR的直接结果(最初表明不太激烈)更改)。 (官方影响等待将最新批次的TC包装成正式的修改文件,并获得批准和发布。) <结束报价> >< quote >... gets has been declared an obsolescent feature anddeprecated, as a direct result of my submitting a DR about it(which originally suggested a less drastic change). (The officialimpact awaits wrapping up the latest batch of TCs into a formalamending document, and getting it approved and published.)< end quote >

R.I.P.

R.I.P.

它还没死。 "已过时"仅仅意味着它可以在下一版本的标准中被考虑删除(其中可能会在C99实际捕获后的某个时间发布)。 仍需要符合要求的实现来支持gets()。 但这是摆脱它的第一步。 - Keith Thompson(The_Other_Keith) ks***@mib < http: //www.ghoti/~kst> 圣地亚哥超级计算机中心< *< users.sdsc.edu/~kst> " ;我们必须做点什么。这是事情。因此,我们必须这样做。 - Antony Jay和Jonathan Lynn,是部长

It''s not dead yet. "Deprecated" merely means that it can be considered for removal in the next version of the standard (which presumably will be released some time after C99 actually catches on). Conforming implementations are still required to support gets(). But this is the first step in getting rid of it. -- Keith Thompson (The_Other_Keith) ks***@mib <www.ghoti/~kst> San Diego Supercomputer Center <* <users.sdsc.edu/~kst> "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"

Keith Thompson说: < snip> Keith Thompson said: <snip> 仍然需要符合实现来支持gets()。 但这是摆脱它的第一步。 Conforming implementations are still required to support gets(). But this is the first step in getting rid of it.

当然,第一步是持续的愤怒和恐怖表现在其多年来的长期生存期间很多 的人,直到ISO为自己的不充分解释而感到尴尬 因为它的继续存在? 下一站:未修改%在scanf中。 - Richard Heathfield Usenet是一个奇怪的地方 - dmr 29/7/1999 www.cpax.uk 电子邮件:rjh在上述域名中, - www。

Surely the first step was the continual rage and horror expressed at its prolonged survival, over a period of many years, by a great many people, until ISO were embarrassed by their own inadequate explanations for its continued existence? Next stop: unmodified %s in scanf. -- Richard Heathfield "Usenet is a strange place" - dmr 29/7/1999 www.cpax.uk email: rjh at the above domain, - www.

更多推荐

gets()已经死了

本文发布于:2023-11-02 08:05:40,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1551835.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:死了

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!