Why Ctrl-Z does not trigger EOF?

前端 未结 2 1230
既然无缘
既然无缘 2020-11-30 14:40

Why Ctrl+Z does not trigger the loop to finish on the following small program?

#include 

        
2条回答
  •  日久生厌
    2020-11-30 15:20

    You need to hit Enter and then use ctrl+Z and then Enter again.

    or, you may also use F6

提交回复
热议问题