#include<iostream>
#include<string>
#include<cctype>
using namespace std;
int main()
{
string s1;
cin>>s1;
cout<<tolower(s1)<<endl;
return 0;
}
[Error] error: no matching function for call to `tolower(std::string&)'
[Warning] note: candidates are: int tolower(int)
我就是想试试这个函数的功能,也包含了头文件cctype,哪里出错了呢
慕侠2389804