在C中检测到空格字符时终止用户输入

时间:2015-04-23 16:31:50

标签: c string input

当用户输入空格字符时,如果有办法终止用户输入(使用scanf或类似的东西),我就会徘徊。

0 个答案:

没有答案