Re: I have the exact same problem


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]

Posted by on November 14, 2001 at 21:20:33:

In Reply to: I have the exact same problem posted by student on November 14, 2001 at 20:30:28:

: when i am comparing two strings it doesnt show them as being equal. what gives?

are you reading in any whitespace with those strings? be careful using getline as it will read until it reaches its designated stop character, even if its after an endline character.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]