Any good books specifically for this topic?
Probably not. Just common sense (and experience)
When you say "while (in.get(&byt);
is "in" the name of the file stream?
Yes
So I just need to open a fstream called "in" or whatever and use it that way to read one byte at a time?
Your program already did that. You don't have to change that open line, except remove the ios::ate as I already mentioned.
Last edited by Ancient Dragon; Jul 1st, 2008 at 11:43 pm.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Online 21,950 posts
since Aug 2005