This topic has not yet been rated - Rate this topic


Reverses the order of the characters in the CStringT object.

CStringT& MakeReverse();

The resulting reversed string.

// typedef CStringT<TCHAR, StrTraitATL<TCHAR, ChTraitsCRT<TCHAR>>> CAtlString;

CAtlString s(_T("abc"));

ASSERT(s.MakeReverse() == _T("cba"));   

Header: cstringt.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.