CTRL-Z (ASCII code 26) is the DOS/Windows EOF marker. Look at the API for your input to determine how the "end of the file" is detected. For example, in a file reader, the way to read data until...