title: sending EOF to stdin in Clion IDE
body: <p>Is there a way to send EOF to stdin when running a c program in Clion IDE?
  I tried ctrl+D - it simply shuts the program down.
  Ctrl+Z doesn't work either.
  Any ideas?</p>
  
  <p>BTW - I'm using it on a Windows 10 OS.</p>