
Progress bar on inputted text file
Quote:
> I want a progress bar as I parse a text file.
> Is there a clever way of finding out how many lines are in the file?
> I'm running on a nt/dos machine.
> Thanks,
> CG
Read the file in in one lump and count the \n characters. Not clever,
but effective.
Cecil
--
Cecil Galbraith
Free programmer's utilities and MFC tips at
http://www.*-*-*.com/ ~cgalbrai