Ctrl-y and continue doesn't work with scanf()?

Everything you want to talk about that doesn't fit to other categories
Post Reply
User avatar

Topic author
ajbrehm
Active Contributor
Posts: 34
Joined: Sun Jun 16, 2019 7:55 am
Reputation: 3
Location: Zurich
Status: Offline
Contact:

Ctrl-y and continue doesn't work with scanf()?

Post by ajbrehm » Wed Aug 28, 2019 2:44 am

I have a program that reads user input with scanf(). I can interrupt it with ctrl-y. But when I type "continue" to continue it, it just runs through its course as if someone had entered numbers (it asks for numbers and loops scanf() if it doesn't get them) and pressed return enough times for the program to run to its end.

Am I missing a setting?

Post Reply