K
K
koshelevatamila47412021-12-18 23:56:45
Visual Studio Code
koshelevatamila4741, 2021-12-18 23:56:45

How to enter information (cin) in visual studio code?

I’ve been setting up VS code for half a day, why everything is so inconvenient, installing eclipse, changing a couple of hot keys and that’s it, but there are errors all the time and everywhere, I just got everything to be beautifully displayed on the right in the output, it turns out you can’t enter information there (cin >> s) , found and included in settings.json
""code-runner.runInTerminal": true"
But now it does not rebuild the application before launching (that is, changes have been made, but the previous version of the program is launched.... how to make input and the output was in one window (NOT popup, inside VScode) and there were no unnecessary labels, like "cd "c:\vs\c\project1" ; if ($?) { g++ 2.cpp -o 2 } ; if ($?) { .\2 }"

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question