I've got a text file that I need to output to the screen. The text file contain's blank lines, which also need to be outputted to the screen. The code which i'm using at the mo is:
Getline is just ignoring blank lines, and going onto the next bit of data.Code:while(!File.eof()) { File.getline(Buffer,100) cout << Buffer; } File >> ws; getchar();