c++中toupper()的用法,怎么用啊?? 时间:2026-05-22 07:47:00 浏览:824次 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 标签:c++,toupper,用法