Click to See Complete Forum and Search --> : Q::How to wait for a line on input stream in C or C++?


August 16th, 1999, 12:35 PM
Who knows how to help me?
My problem is:
When the line appears on the input stream, it should be analyzed by my program and
when there is no line, the program must wait for another line.
The line is generated generally by another application under Unix.
Do you have an answer to my question like erasing the input buffer.
Thanks.