You are reporting the paste Use fgetc() to read a single character from a file.