ifstream fin;. fin.open(nm);. cout << "Output File Name = ";. cin >> nm;. ofstream fout;. fout.open(nm);. char str[1000];. fin.getline(str, 5);.
確定! 回上一頁