Check this program
ifstream filein(\"Hey.txt\"); filein.getline(line,99); cout<
#include using namespace std; int main() { ifstream in; string lastLine1; string lastLine2; in.open("input.txt"); while(in.good()){ getline(in,lastLine1); getline(in,lastLine2); } in.close(); if(lastLine2=="") cout<