Why sometime gets() skipped in C | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why sometime gets() skipped in C

Sometime I cannot enter input into gets() because it skipped. Why this happened and how to counter?

18th Mar 2019, 6:58 PM
Adib Zaini
Adib Zaini - avatar
1 Answer
0
If I do recall my C courses, it might be caused by the buffer which was not emptied or something like that... Hope that helps or that someone will be more usefull 😅
18th Mar 2019, 7:02 PM
Dyf Dyf
Dyf Dyf - avatar