123456789101112
#include <fstream> #include <iostream> #include <string> int main() { string rName; cin >> rName; string file = rName + ".name.txt" ifstream myfile; myfile open(file); }