I am trying to read from standard input and distinguish each character from each other by its decimal value. From what I understand, Line Feed (10) and carriage return (13) will be interpreted as the same character. I want to distinguish between them. I know, if I were reading from a file, I could open it using the ios :: binary parameter. But what about if I read from standard input?
source share