Hi, I need to check if two provided words doesn't have the same letter in it. And as I just started with this text thingy, I don't really know much about.
For starters I got this code:
if (strcmp(Z1, Z2) == 0)
Memo1->Lines->Add("Z1==Z2");
else if (strcmp(Z1, Z2) < 0)
Memo1->Lines->Add("Z1<Z2");
else
Memo1->Lines->Add("Z1>Z2");
This only shows if two words have the same characters and prints == if so.
I guess, it would be handy to use "tolower()" function for narrowing the list of characters codes. But as I said, I'm just starting with the text in c+, so any help would be apreciated.