Ctrl+D doesn't stop application from executing in command window

前端 未结 5 884
后悔当初
后悔当初 2020-12-07 05:21

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         


        
5条回答
  •  日久生厌
    2020-12-07 05:43

    Ctrl-D is used for the console EOF on Unix systems.

    Ctrl-Z is used for the console EOF on Windows systems.

提交回复
热议问题