Why sometime gets() skipped in C | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
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