[Solved] How C++ understand both mode of input? [closed]
The input is what we call stream based. It is not looking at lines of text at all. When it looks for an int, it looks for digit characters, until it finds something that isn’t a digit. In the first example, when the input is 1 2 3 after it reads each number, it finds … Read more