Sending end of transmission to inputstream

前端 未结 0 2031
臣服心动
臣服心动 2021-02-12 10:24

I\'m reading stdin using a scanner. The scanner stops reading if I send ^D (end of tranmission char) via command line.

Now let\'s say that I want the scanner to stop if t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题