Hi,
All I want is read input(it can be multiples lines) from console till it encounters EOF character.how can I handle multiple lines of string under one var?
Actually I tried to read
while((c=getchar())!=EOF) but it not works
Thanks,
Veera
Hi,
All I want is read input(it can be multiples lines) from console till it encounters EOF character.how can I handle multiple lines of string under one var?
Actually I tried to read
while((c=getchar())!=EOF) but it not works
Thanks,
Veera
Last edited by veera; 06-28-2015 at 12:41 PM.