I\'ve written a program to encrypt a given message by XOR. It works, but It doesn\'t end. Here is the code.(I have created 3 files):
encrypt.h :
void
Ctrl-D is used for the console EOF on Unix systems.
Ctrl-Z is used for the console EOF on Windows systems.