您当前的位置: 首页 >  c++

C++ string 实现大小写转换

不牌不改 发布时间:2022-03-19 22:07:55 ,浏览量:5

#include
using namespace std;
string str;
int main()
{
	cin >> str;
	transform (str.begin (), str.end (), str.begin (), ::toupper);
	cout             
关注
打赏
1688896170
查看更多评论
0.0513s