Description: CString Equals is a member function of the CString class in C++, which is used to compare two CString objects to determine whether they are equal or not. It returns a boolean value of true if they are equal or false if they are not.
Code Examples: 1. Here is an example that compares two CString objects using the Equals function:
In this example, the CString object str is compared with the constant string "Hello". The result of the comparison is stored in the variable isEqual.
Package Library: The CString class is a part of the Microsoft Foundation Class (MFC) library, which is included in Microsoft Visual Studio. Therefore, to use the CString class and its member functions, including Equals, you need to include the MFC library in your project.
C++ (Cpp) CString::Equals - 30 examples found. These are the top rated real world C++ (Cpp) examples of CString::Equals extracted from open source projects. You can rate examples to help us improve the quality of examples.