Kashyap
Kashyap

Reputation: 3

C++ output window not working as expected

ok so I just started learning today, This simple code works as expected when I run it in the integrated terminal but not in the output window, I'm not able to type in the numbers, any suggestions on how to solve the issue ? Executed in output window

Executed in terminal window

Upvotes: 0

Views: 567

Answers (1)

user14749247
user14749247

Reputation:

As described in this Question: Cannot edit in read-only editor VS Code. The VS Code Output window is read-only. So you cannot input any values there. And as your code requires input, it will only work in a terminal (as you can input values there).

Upvotes: 2

Related Questions