字符串倒序排列
string MakeReverse(string str)
功能:字符串倒序排列
str
:需要倒序的字符串
返回值:倒序后的字符串
例:
string s1 = "12345";
s1 = MakeReverse(s1);
s1
的结果为
"54321"