Buffer c++ | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Buffer c++

Why clear the buffer c++?

19th Dec 2017, 12:32 PM
Andy
Andy - avatar
2 ответов
+ 4
so that the input is handled properly . If we don't clear buffer , then the input may be misread by the computer .
19th Dec 2017, 1:26 PM
RZK 022
RZK 022 - avatar
0
It should be deleted every time you enter an input ???
27th Dec 2017, 8:39 PM
Andy
Andy - avatar