NO, that is not the cause of the problem here. 12.1 is not relevant to the code you have because you are not comparing against EOF. Changing it to int only makes it a bit less likely that it will...