Re: correct way to use getchar function?

hi Chris, that worked. I am using bloodshed as suggested by some
members of this list. and Jackie, I already said that the code was
compiling but the last message was not staying on screen. Chriss
solved this problem. thanks alot. Chriss or anyone else will you
please tell me why it happened? and should I use getchar in this way
always? take care, regards. ashish

On 4/15/11, QuentinC <quentinc@xxxxxxxxxxx> wrote:
> Jackie McBride wrote : It is a good idea to flush stdin.
> Never flush stdin, it is an undefined behavior
>
>
> __________
> View the list's information and change your settings at
> http://www.freelists.org/list/programmingblind
>
>
__________
View the list's information and change your settings at 
http://www.freelists.org/list/programmingblind

Other related posts: