#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;}请问我的程序哪里错了为什么不能将小写字母转换为大写字母?
添加回答
举报
0/150
提交
取消