当前位置:网站首页>strcasecmp和strncasecmp
strcasecmp和strncasecmp
2022-07-30 05:39:00 【m~~?】
int strcasecmp(const char *s1, const char *s2);
int strncasecmp(const char *s1, const char *s2, size_t n);
忽略大小写进行比较,差别是strncasecmp只比较s1的前n个字符。
返回值:相等返回0,s1的长度小于s2返回负数,大于返回正数。
The strcasecmp() function compares the two strings s1 and s2, ignoring the case of the characters. It returns an integer less than, equal to,or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2.
边栏推荐
猜你喜欢

SRA数据下载方法总结

MySQL Soul 16 Questions, how many questions can you last?

Memories · The last system design in the university era

报错:npm ERR code EPERM

PyCharm usage tutorial (more detailed, picture + text)

【线性神经网络】线性回归 / 基础优化方法

optimizer.zero_grad()

453.最小操作数使数组元素相等

VS2022中关于scanf函数报错解决方法

Teach you how to design a CSDN system
随机推荐
flask使用token认证
pytorch中的线性代数
MySQL-Explain详解
MySQL笔记(pymysql)
934.最短的桥(广度优先搜索)
多线程并发服务器
C语言必会15个文件函数
[GO Language Basics] 1. Why do I want to learn Golang and the popularization of GO language entry
51.N皇后(回溯法)
MySql的初识感悟,以及sql语句中的DDL和DML和DQL的基本语法
MySQL (2)
Different usage scenarios of subqueries as retrieval tables and the question of whether to add aliases
5.5线程池
【线性神经网络】线性回归 / 基础优化方法
optimizer.zero_grad()
Solve the problem that the local nacos is not configured but the localhost8848 connection exception always occurs
What is SOA (Service Oriented Architecture)?
524.通过删除字母匹配到字典里最长单词
C语言:通过函数实现一个整形有序数组的二分查找
enumerate() 函数