#include #include #include using namespace std; int main { string data; ofstream outfile; outfile.open("file.dat"); cout
www.java2s.com