Constructor of a scanner reader from input or txt

前端 未结 0 2010
猫巷女王i
猫巷女王i 2021-01-17 18:08

I wanted to know how can I make a constructor that could read from a txt or input a text with this format:

Shell 0
house 1
key 2

The word and

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