Re: Getc or Getchar is not reading data
Pradyut a écrit :
[color=blue]
> This is not a good solution but a works well[/color]
No, it doesn't work at all.
[color=blue]
> fflush(stdin);[/color]
This statement invokes an undefined behaviour. It has been explained
before in the thread that you should have read before posting...
--
A+
Emmanuel Delahaye
Pradyut a écrit :
[color=blue]
> This is not a good solution but a works well[/color]
No, it doesn't work at all.
[color=blue]
> fflush(stdin);[/color]
This statement invokes an undefined behaviour. It has been explained
before in the thread that you should have read before posting...
--
A+
Emmanuel Delahaye
Comment