You can rate examples to help us improve the quality of examples. These are the top rated real world C++ (Cpp) examples of CString::Compare extracted from open source projects. C++ (Cpp) CString::Compare - 28 examples found. The CString Compare function is part of the MFC (Microsoft Foundation Class) library, which is included in the Microsoft Visual C++ package. They are not equal and their relative order indicates the first string is less than the second. This example compares two CString objects that are completely different. They are not considered equal by the Compare function. This example compares two CString objects that have different capitalization. The function takes two arguments of type CString: the source string to compare and the destination string to compare to.Ĭout << "The strings are equal." << endl Ĭout << "The first string is less than the second." << endl Ĭout << "The first string is greater than the second." << endl It compares two CString objects and returns an integer value indicating their relative position in the collation order. CString Compare is a function in the CString class of C++.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |