c++ 中如何将输入的char首字母大写

2024-10-22 16:44:45
有1个网友回答
网友(1):

调用C函数库中的toupper功能。比如存储了wang,你就 toupper(name[0]);