title: terminating input in cmd
body: <p>I am running flex on windows. After compiling lex.yy.c C code file I am getting an executable "a.exe" but after running that executable I don't know how to terminate my input in command prompt. I have tried ctrl+z but it doesn't seem to work. 
  Instead ^z gets displayed. </p>
  
  <p>In linux you terminate your input by pressing ctrl+d to see the output. I want to know the equivalent buttons in windows. </p>