#include<iostream.h>
#include<conio.h>
#include<fstream.h>
void main()
{
char str[25] = "Welcome to poly",ch;
clrscr();
ofstream fout;
fout.open("output.txt");
fout<<str;
fout.close();
ifstream fin;
fin.open("output.txt");
while (!fin.eof())
{
fin.getline(str, 25);
cout<<str<<endl;
}
fin.close();
getch();
}