为什么不存在strrstr()? [英] Why doesn't strrstr() exist?

查看:124
本文介绍了为什么不存在strrstr()?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(后续设置为comp.std.c.道歉,如果交叉路口不受欢迎。)


strchr()是strrchr(),因为strstr()是strrstr() ,但是strrstr()

不是标准的一部分。为什么不呢?


-

Christopher Benson-Manica |我*应该*知道我在说什么 - 如果我

ataru(at)cyberspace.org |不,我需要知道。火焰欢迎。

(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.)

strchr() is to strrchr() as strstr() is to strrstr(), but strrstr()
isn''t part of the standard. Why not?

--
Christopher Benson-Manica | I *should* know what I''m talking about - if I
ataru(at)cyberspace.org | don''t, I need to know. Flames welcome.

推荐答案

Christopher Benson-Manica写道:
Christopher Benson-Manica wrote:
(后续设置为comp.std。 c。如果交叉路口不受欢迎,请道歉。)
(Followups set to comp.std.c. Apologies if the crosspost is
unwelcome.)




跟进UNSET。


我认为它''愚蠢的做到这一点。在我读过的一个小组中有一个

的帖子让我感到烦恼,后续设置为一个我不读的。如果

帖子适合comp.lang.c,那么回复也是如此。如果回复

不是,那么帖子就不应该在这里发布了。


我发现它很粗鲁和令人讨厌。



Brian



Followup UNSET.

I think it''s dumb to do this. It annoys the crap out of me to have a
post in a group I read, with a followup set to one I DON''T read. If the
post was appropriate for comp.lang.c, then so are replies. If replies
aren''t, then the post should never have been made here.

I find it rude and obnoxious.


Brian


默认用户< de *********** @ yahoo.com>写道:
Default User <de***********@yahoo.com> wrote:
我认为这样做是愚蠢的。在我读过的一个小组中有一个
帖子让我感到烦恼,后续设置为一个我不读的。如果
帖子适合comp.lang.c,那么回复也是如此。如果回复
不是,那么这个帖子永远都不应该在这里。


很多comp.lang.c常客都没有这样做(从帖子中判断缺少
缺点)跟随comp.std.c是我的主要动机对于

也可以将它交叉到这个组。


我将这些文件设置为csc只是因为锡似乎认为它很糟糕

netiquette将后续内容设置为多个新闻组...

我发现它很粗鲁和讨厌。
I think it''s dumb to do this. It annoys the crap out of me to have a
post in a group I read, with a followup set to one I DON''T read. If the
post was appropriate for comp.lang.c, then so are replies. If replies
aren''t, then the post should never have been made here.
The fact that many comp.lang.c regulars do not (judging from the
paucity of posts) follow comp.std.c was my primary motivation for
crossposting it to this group as well.

I set the folloups to c.s.c only because tin seems to think it is bad
netiquette to set followups to more than one newsgroup...
I find it rude and obnoxious.




为此,我谦卑地道歉;考虑所吸取的教训。


-

Christopher Benson-Manica |我*应该*知道我在说什么 - 如果我

ataru(at)cyberspace.org |不,我需要知道。火焰欢迎。



For that I humbly apologize; consider the lesson learned.

--
Christopher Benson-Manica | I *should* know what I''m talking about - if I
ataru(at)cyberspace.org | don''t, I need to know. Flames welcome.


默认用户写道:
我觉得它很粗鲁和讨厌。
I find it rude and obnoxious.




....说Usenet专家默认用户 :-)


Steve

-

Stephen Hildrey

邮件: st *** @ uptime.org.uk /电话:+442071931337

Jabber: st *** @ jabber.earth.li / MSN: fo * @ hotmail.co.uk



....says Usenet expert "Default User" :-)

Steve
--
Stephen Hildrey
Mail: st***@uptime.org.uk / Tel: +442071931337
Jabber: st***@jabber.earth.li / MSN: fo*@hotmail.co.uk


这篇关于为什么不存在strrstr()?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆