How to read multiple lines from stdin until EOF?

后端 未结 0 885
野的像风
野的像风 2021-02-19 07:14

How can I read multiple lines from stdin and advance until EOF in Rust? I\'m trying to translate this C++ code to Rust but I\'m failing.



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