hello
I can't figure out how to make a program which won't get paused reading from the stdin.
Here is an example:
I'm going to execute the program under linux so:Code:string input_line;
while (true) {
if ("stdin is not empty") {
cin >> input_line;
}
... (some code to execute continuously)
}
thanks in advance for helpCode:$ tail -f file.txt | ./program

