I need a little help with this :icon_redface:
if I use ifstream::read() and go past the end of the file, how do I tell how many chars have been read?
if you are using read() to read the data, then immediately call gcount() to get the number of bytes that were read. tellg() will only tell you where the file pointer is, not how many bytes were read. Read More
Edited by Excizted: added my way
Edited by VBNick: n/a