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

11th Oct 2020, 10:02 AM
Arya Deep Chowdhury
Arya Deep Chowdhury - avatar
3 Réponses
+ 1
if you press ctrl+shift+` it'll open bash/powershell/cmd (whichever is available) within vs code.
11th Oct 2020, 10:08 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
0
So in that cmd can i give input!!
11th Oct 2020, 10:10 AM
Arya Deep Chowdhury
Arya Deep Chowdhury - avatar
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.
11th Oct 2020, 10:14 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar