您的位置首页百科知识 c++中toupper()的用法,怎么用啊?? Simone 发布于 2025-04-15 05:19:19 526 阅读 c++中toupper()的用法,怎么用啊??的有关信息介绍如下:int toupper(int c);包含于ctype头文件中,如果c是小写英文字母,则转换为大写,其他字符不变。#include #include #include int main(void) { int length, i; char *string = "this is a string"; length = strlen(string); for (i=0; i