int main() { ifstream infile; ofstream outfile; }
string filename; filename = "output.dat"; infile.open("file1.data"); outfile.open(filename.c_str());
Write program 4 page 190.