Sending end of transmission to inputstream

前端 未结 0 1701
猫巷女王i
猫巷女王i 2021-02-12 10:34

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

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