istream stop at \n

Posted by Thomas on Stack Overflow See other posts from Stack Overflow or by Thomas
Published on 2010-05-13T02:38:27Z Indexed on 2010/05/13 2:44 UTC
Read the original article Hit count: 271

Filed under:
|
|

Is there any way of telling istream to keep going until it hits \n instead of normal white space and with out the use of getline and also keeping any format options in the stream?

Thanks.

© Stack Overflow or respective owner

Related posts about c++

Related posts about istream