0
Hello! What is a buffer and why do we clean it? I'm rather new at C.
2 odpowiedzi
+ 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
0
Thank you!!!