strcmp函数
摘要:原型:int strcmp(const char *s1, const char *s2); 头文件:#include <string.h> 功能:用来比较两个字符串 参数:s1、s2为两个进行比较的字符串 返回值:若s1、s2字符串相等,则返回零;若s1大于s2,则返回大于零的数;否则,则返回小于
阅读全文
posted @ 2023-01-31 16:21
posted @ 2023-01-31 16:21
posted @ 2023-01-31 16:19
Powered by:
博客园
Copyright © 2025 messing
Powered by .NET 9.0 on Kubernetes