阅读背景:

如何比较C中字符串的端点?

来源:互联网 

I want to make sure my string ends with ".foo". I am using C, a language I am not totally familiar with. The best way I have found to do it is below. Any C gurus want to make sure I'm doing this elegantly and wisely?I want to make sure my string ends with ".foo".




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: