#include
#include
#include
#include
#include
using namespace std;
int main()
{
vector str;
string text;
ifstream fin("a.txt");
while (getline(fin, text)) {
str.push_back(text);
}
fin.close();
str.erase(str.begin() + 2);
ofstream fout("b.txt");
copy(str.begin(), str.end(), ostream_iterator(fout, "\n"));
fout.close();
system("pause");
return 0;
}