windows - terminating input in cmd -


i running flex on windows. after compiling lex.yy.c c code file getting executable "a.exe" after running executable don't know how terminate input in command prompt. have tried ctrl+z doesn't seem work. instead ^z gets displayed.

in linux terminate input pressing ctrl+d see output. want know equivalent buttons in windows.

this question has lain unanswered months, answer simple. not related flex, how end-of-file entered in windows command-prompt.

cntrl-z correct, works differently cntrl-d in linux. in linux when type cntrl-d input terminated immediately, in windows not. still have follow cntrl-z enter key still reads whole lines. once has read line cntrl-z recognised end-of-file. also, noted, echoes ^z display.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -