void
main()
{
std::string str1 = "abracadabra";
std::string str2 = "AbRaCaDaBra";
if (!str1.compare(str2)) {
cout << "Compares"
}
}
How can I make this work? Bascially make the above case insensitive. Related question I Googled and here
http://msdn.microsoft.com/en-us/library/zkcaxw5y.aspx
there is a case insensitive method String::Compare(str1, str2, Bool). Question is how is that related to the way I am doing.