The output window in vs code is not editable, so how we can type the input when the program asks for it?
问题 The Error is shown when I input anything in the output window 回答1: As the name implies, output window is only for displaying output. It seems that you're using VSCode Coderunner extension, which by default runs program in output window. To change it to terminal, simply put : "code-runner.runInTerminal": true In your VSCode User Settings (shortcut: Ctrl + , ). 回答2: Type the input in the console, not the output window. 回答3: you cant input anything in output window. if you want make any change