0
Can anyone suggest me a vs code extention in which I can give input in the console?
I've one extension i.e. Code Runner , but the problem with it is user can't give any input in the console By the way, I'm looking for C/C++.........If the extension works on particular language
3 Réponses
+ 1
if you press ctrl+shift+` it'll open bash/powershell/cmd (whichever is available) within vs code.
0
So in that cmd can i give input!!
0
Yes. for example, I do it like this :
g++ hello.cpp -o hello.out
./hello.out
(g++ is compiler, if you are using windows use .exe extension instead of .out for file)
If the program requires input you can give it right there in vs code.