program in c++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anuj295
    New Member
    • Nov 2007
    • 2

    #1

    program in c++

    i need a program in class string in which overload == is used to compare two strings
  • Ganon11
    Recognized Expert Specialist
    • Oct 2006
    • 3651

    #2
    The string class has already overloaded the == operator to compare two strings.

    Comment

    • weaknessforcats
      Recognized Expert Expert
      • Mar 2007
      • 9214

      #3
      But only if you inlcude <string>.

      Comment

      Working...