📄 missing.cpp
字号:
// missing.cc// code for missing.h// copyright SafeTP Development Group, Inc., 2000 Terms of use are as specified in license.txt#include "missing.h" // this module#include <ctype.h> // tolowerint missing_stricmp(char const *s1, char const *s2){ while (*s1 && *s2) { // the choice between tolower and toupper affects lexicographic // comparisons between letters and the symbols between Z and a; // I don't know which is the "correct" way. int d = tolower(*s1) - tolower(*s2); if (d != 0) { return d; } s1++; s2++; } // one or both are at the null terminator return *s1 - *s2;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -