I am a budding programmer and I am aware of the power of Linux and GCC but I think there is some thing wrong with GCC sometimes scanf() and fflush(stdin) statements dont work properly or they are not executed at all please suggest me some solution or else I have to shift from Arch Linux to FreeBSD which I dont really want please tell me a solution.........
Last edited by mcool4151 (2013-07-14 08:51:37)
It's hard to give any suggestions without examples of code you think is misbehaving
Using fflush(stdin) is not a good idea.
Sorry actually I was doing some thing wrong..... I got my mistake.....