How to let gets() work correctly?

IN C Starndard lib, use gets can input string form stdio.

for example, push [backspace] can remove the last char.

But when i use gets(), it keep backspace char (0x0B).

Parents Reply Children
No data
More questions in this forum