GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: No Line Numbers


A Paste by Anonymous
1
 
{
    
    char next;
    int x=1;
    
    while( !messy_file.eof())
    {
        cout << x << \":\" << setw(field_width);
        neat_file << x << \":\" << setw(field_width);
        ++x;

        do{
        !messy_file.eof();
        messy_file.get(next);
        cout << next;
        neat_file << next;
        }while (next != \'\\n\' && !messy_file.eof());
    }
    
    
    cout << \"\\nThat is it. \";
    
}