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.
Post a Followup