hai
char var;
scanf("%c",&var);when i use scanf or even getchar to get a character in a loop, during first iteration i get no problem, but during second iteration it's not waiting for my input. I tried out fflush(stdin) it's not working. I get no problem when I use two scanf or getchar statements continuously.
Please help me.
_________________________________________________________________
Want free fuel? Get IOC Citibank card. http://server1.msn.co.in/msnleads/citibankcards/ioc.asp Drive your dreams!
------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
