Use of fflush (stdin)? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Use of fflush (stdin)?

when i used it it don't work

7th Dec 2016, 4:14 PM
Suraj Das
Suraj Das - avatar
1 ответ
0
it clears the stdin or the standard input buffer. for example it you have unwritten data this method will clear anything in if and will get it ready for new use.
7th Dec 2016, 4:19 PM
milk way
milk way - avatar