#include using namespace std;int main(){
string str="hello,world";
for(int i=0;i<str.size();++i)
toupper(str[i]);
cout<<str<<endl;
return 0;}請問我的程序哪里錯了為什么不能將小寫字母轉(zhuǎn)換為大寫字母?
添加回答
舉報
0/150
提交
取消