Comparison


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

Posted by Zach Egolf on November 13, 2001 at 19:32:13:

When using the getline() command, does the variable pick up and hold on to the \t or \n? And if so, would it affect comparison? For example...

I say getline(Input,x,'\t') for the line
foofoo
and getline(Input,y,'\n') for the second part.
Does it keep the tab and newline?
And if I was to compare them would
x = y be a true statement?

Thanks for you help
Zach


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 ]