How can I input a text file using a command line argument, match the argument with the text file in the directory and convert the file into a string?

前端 未结 0 327
终归单人心
终归单人心 2021-01-04 21:21

I am trying to reference a file through using it as a command line argument, assuming the file is in the same directory. I then need to convert the first argument into a str

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