New Paste :: Recent Pastes:: No Line Numbers
A Paste by Anonymous
1
{ char next; int x=1; while(!messy_file.eof()){ cout << x++ << \":\" << setw(3); do{ messy_file.get(next); cout << next; neat_file << next; }while(next != \'\\n\' && !messy_file.eof()); } return; }