M
mross462
Hello,
At my work we are implementing a progress bar status display which
increments a percentage bar by the number of bytes read of a file and
then comparing that to the full filesisze.
We are using the getline function in fstream and I have seen examples
that obtain the number of bytes reading a character at a time, but not
a line at a time.
I'm needing to be able to determine the number of bytes read in by
getline and then compare a sum of those values to the size of the
complete file. If anyone could help it would be greatly appreciated.
At my work we are implementing a progress bar status display which
increments a percentage bar by the number of bytes read of a file and
then comparing that to the full filesisze.
We are using the getline function in fstream and I have seen examples
that obtain the number of bytes reading a character at a time, but not
a line at a time.
I'm needing to be able to determine the number of bytes read in by
getline and then compare a sum of those values to the size of the
complete file. If anyone could help it would be greatly appreciated.