I am running a C program using putty (don’t ask why) and it is working fine, except when I run a particular function, the string “PuTTy” appears at the end. This doesn’t seem to be affecting anything much, but I am just curious if anyone knows why this is happening and what sort of error this might indicate.
Note: When I run the code in a Linux terminal, there is no error whatsoever.
This is an issue with PuTTY caused by your program emitting the Control-E character. From the PuTTY FAQ:
Is your function outputting binary characters such as Control-E?