Re: Comparison


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

Posted by wayne on November 13, 2001 at 20:19:50:

In Reply to: Comparison posted by Zach Egolf on November 13, 2001 at 19:32:13:

hey
read your notes. it's all in there.

the third parameter for the getline() function is the character that will be ignored. it will read that character, ignore it, and stop reading. then, when you go to read again, reading will begin at the character immediately following what was ignored by the getline() function.

your example, for
foo foo
getline(Input,x,'\t')
getline(Input,y,'\n')

x==y would be a true statement.

wayne


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 ]