Can a string hold a newline character if given from a char type?
===

What I mean is this. Say we read from standard input a bunch of text, and one by one we read it into a character type. If one of these characters is a newline, obviously this variable can hold information about the new line. What if I push this character into a string stream, and then output the contents of the string stream into a string?

It appears that this new string doesn't hold any data about the newline character.

Is there anyway to have the string keep this information?