C++的库函数 (toupper/tolower) 的用法 2021-9-11 0:05 | 564 | C语言,学习 76 字 | 2 分钟 toupper/tolower函数的原型如下 int tolower(int c) { if ((c >= 'A') && (c <= 'Z')) return c + ('a' - 'A'); return c; } int toupper(int c) { if ((c >= 'a') && (c <… c++