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

前端 未结 5 892
后悔当初
后悔当初 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条回答
  •  旧时难觅i
    2020-12-07 05:41

    When I pressed Ctrl+D to stop it (in cmd)

    If that's the cmd from Windows you probably want Ctrl+Z.

提交回复
热议问题