如题所述
VC中CString中有许多函数,可以实现字符串操作的不同的功能。其中CString::MakeReverse可以实现字符串倒置的功能。
void MakeReverse( ); //字符倒置
如:
CString upass = "Hello!"; upass.MakeReverse(); printf("%s", upass); 输出!