On 12 Oct, 2011,at 04:39 PM, mukesh tiwari <mukeshtiwari.iiitm@gmail.com> wrote:
When i run this program . it does not produce any thing and when i press ^C ( CTRL - C ) it produce output.
This is because you use hGetLine, which blocks until it sees either a newline character, or EOF.
Regards,
Malcolm