#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main()
{
// ifstream input("./in.txt", ios::in | ios::binary);
// ofstream output("./out.txt",ios::out|ios::binary);
ifstream input("./in.txt", ios::in );
ofstream output("./out.txt",ios::out);
string line;
while(std::getline(input, line))
{
output << line << endl ;
cout<<line<<endl;
}
input.close();
output.close();
system("pause");
return 0;
}