You can use the same stream OBJECT as well. Just don't forget to close the object before loading a new file:
Code:
#include <iostream>
#include <fstream>
int main()
{
std::ofstream fout("file_one.txt", std::ios::app);
fout << "modified" << std::endl;
//Close first!
fout.close();
fout.open("file_two.txt", std::ios::app);
fout << "modified" << std::endl;
return 0;
}