Joel VanderWerf wrote: > Travis D Warlick Jr wrote: >> Lionel Bouton wrote: >> >> while buffer[0...512] = file.read(512) >> > > Do you mean file.read(512, buffer) ? Ahh, yes. That would be an much prettier way to do it. while file.read(512, buffer) -- Travis Warlick "Programming in Java is like dealing with your mom -- it's kind, forgiving, and gently chastising. Programming in C++ is like dealing with a disgruntled girlfriend -- it's cold, unforgiving, and doesn't tell you what you've done wrong."