繁体   English   中英

strcspn 中的“c”代表什么?

[英]What does the “c” in strcspn stand for?

strspn("string", "chars")给出由 "chars" 中的字符组成的字符串中初始跨度的长度,而strcspn("string", "chars")给出由字符组成的字符串中初始跨度的长度不在“字符”中。

“c”代表什么?

strcspn 中的“c”代表什么?

对于“互补”这个词。

cppreference strcspn

函数名代表“complementary span”,因为该函数搜索src 中没有的字符,即src 的补码。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM