So, your compiler tells you that there is no compare function for WCS_String... because there is no compare function for WCS_String. There is, however, a Compare function. There is also an operator==. Who knew you could find this stuff by looking in a header file?
what i have to do is : Create a Name class composed of three String objects (for First, Middle, and Last). Provide methods and operators for comparing Names, reading and writing Names, and for allowing the retrieval and changing of the components of a Name (i.e. Get and Set methods for First, Middle and Last).
Suppose you have a phone book, and you're looking for a name.
Suppose you're looking for the name Boaz, George C, but you open the phone book and the first name you see is Phillips, Michael A.
When you look at that name, what is the relevant portion for deciding whether the name you're looking for is ahead of or after the name you opened it to? Is it the first name or the middle initial you start with?
Last edited on
Topic archived. No new replies allowed.
You are using a version without Ads of this website. Please, consider donating: