well, I'm not going to explain the code, because most of you have probably all ready had this problem, but here it is:

in my program, i read through a file in a while loop and it merely tests this: while(!file.eof()) and then, inside the loop it does this: file.get(buff); now, thing is, if i only have about 6 letters in the file and no endlines, it DOESN'T break out of the loop!!

i can't seem to understand why it does this, and I'm just getting fed up with it..........so, i'll just search around the cboard till someone replies

thanks