#incluude
#include
#include
using namespace std;
int main()
{
ifstream in("input.txt");
if(!in)
{
cerr << "some errors happened";
return -1;
}
string str;
while(getline(in, str))
{
cout << str << endl;
}
return 0;
}
while(!headFile.eof())
{
getline(headFile,sline,'\n');
cout<<"Read one line:"<