Is there a way to access a file using ifstream but the file name is determined by a variable?

后端 未结 0 1305
臣服心动
臣服心动 2021-01-19 13:41

I need to access a file using fstream but that file name is determined by the user. How would one access the file from a string like ifstream example (string or char e

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