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(3);

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