c语言string.h里面的函数,请问在string.h里包含哪几个函数?

a70475eb02e36be0f05c5a084a88b2ba.png

守候你守候我

功能里面写了阿,还要我翻译阿FunctionsCopying:memcpy Copy block of memory (function)copy内存块memmove Move block of memory (function)移动内存快strcpy Copy string (function)copy字符串strncpy Copy characters from string (function)从字符串里copy出字符Concatenation:合并strcat Concatenate strings (function)合并字符串strncat Append characters from string (function)也是合并,可以指定选用前多少个字符Comparison:比较memcmp Compare two blocks of memory (function)比较两块内存strcmp Compare two strings (function)比较两个字串strcoll Compare two strings using locale (function)strncmp Compare characters of two strings (function)比较两个字符串中的字符strxfrm Transform string using locale (function)采用目前区域的字符排列次序来比较字符串Searching:memchr Locate character in block of memory (function)在一块内存中定位字符strchr Locate first occurrence of character in string (function)找第一次出现的strcspn Get span until character in string (function)找两串里第一个一样的strpbrk Locate character in string (function)在string里找charstrrchr Locate last occurrence of character in string (function)最后一次出现strspn Get span of character set in string (function)找字符集strstr Locate substring (function)子串strtok Split string into tokens (function)分割字符串Other:memset Fill block of memory (function)strerror Get pointer to error message string (function)strlen Get string length (function)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值