0

Buffer c++

Why clear the buffer c++?

19th Dec 2017, 12:32 PM
Andy
Andy - avatar
2 Answers
+ 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