title: How do I overload the == operator for the string class in c++?
body: <p>I am a new <code>c++</code> programmer and I only recently learned about operator overloading. While working on an independent project I came across an issue, I wanted to compare user input strings with other strings in order to allow the user to navigate around a simple menu. The only thing is I don't know how to compare two strings while ignoring the case. If there is a much simpler way of doing this rather than overloading the <code>==</code> operator, please let me know but also let me know how to overload the <code>==</code> operator for strings because I am very interested.</p>
  
  <p>What a great community. Thanks a lot guys, you answered my question very quick without making me feel dumb!</p>