来源:https://stackoverflow.com/questions/53726736/how-do-i-limit-the-input-of-scanf-to-integers-and-floats-numbers-in-general 标签 c scanf fflush