Im sort of new to C and C++, so just bear with me. ive got a program that opens a 30MB or so file, and i loop through it character by character. but for some reason, the eof flag (using ifstream) sets to true after im only about 25% through the file.. is there something i should know about when opening large files? thanks for any help... TheSarlacc.