#include#includeusing namespace std;void main(){string file_name;cin file_name;const string *fp = &file_name;ofstream fout (*fp);...}
建议看看基础教程吧!