用户:
口阿米讠若其斤查看:2 回复:3 评论:2 创建时间:2024-07-06T12:11:48
toupper怎么用??(C++)
#include <iostream>
#include <ctype.h>
using namespace std;
int main(){
char str[] = "take our /usr";
for(int i = 0;str[i];i++){
str[i] = toupper(str[i]);
}
cout<<str;
return 0;
}点赞0
评论