char函数
摘要:
字符串比较: strcmp函数是string compare(字符串比较)的缩写,用于比较两个字符串并根据比较结果返回整数。基本形式为strcmp(str1,str2),若str1=str2,则返回零;若str1<str2,则返回负数;若str1>str2,则返回正数。 字符串复制: strcpy, 阅读全文
posted @ 2019-09-02 16:53 By_布衣 阅读(766) 评论(0) 推荐(0) 编辑
posted @ 2019-09-02 16:53 By_布衣 阅读(766) 评论(0) 推荐(0) 编辑
posted @ 2019-09-02 14:42 By_布衣 阅读(122) 评论(0) 推荐(0) 编辑