0

Hello! What is a buffer and why do we clean it? I'm rather new at C.

9th Nov 2018, 8:12 AM
MargaritaK
2 Respuestas
+ 1
Buffer io its a... Temporary storage for your i/o, it make sure that the input are complete before continue. Why do we need to clean it, if you try to read an input and buffer still has some character left, the input would not wait for your keyboard input but it'll take those character instead
9th Nov 2018, 8:29 AM
Taste
Taste - avatar
0
Thank you!!!
9th Nov 2018, 9:45 AM
MargaritaK