Compares two strings (case sensitive).
The generic-text function _tcscmp, which is defined in TCHAR.H, maps to either strcmp, wcscmp, or _mbscmp, depending on the character set that is defined at compile time. Each function performs a case-sensitive comparison of the strings and is not affected by locale. For more information, see strcmp, wcscmp, _mbscmp.
If the string contains embedded nulls, for purposes of comparison the string is considered to be truncated at the first embedded null character.
The following example demonstrates the use of CStringT::Compare.