User-Input not working in Visual Studio Code for C/C++ (solution)

PAUL SABU
May 7, 2021

--

If you are using Visual Studio Code with C/C++ Extenstion and Code Runner and unable give user input in the Console while using functions scanf() and cin , please follow the instrunctions given below

  • Click on File >> Preferences >> Settings or Press on Ctrl+,
  • In the search box , type “ code runner ”
  • Find Code-runner:Run In Terminal as shown in the image above
  • Check Code-runner:Run In Terminal

Problem Solved ,Now we can give user-input in the console

--

--

PAUL SABU
PAUL SABU

Written by PAUL SABU

Loves To Play with MicroControllers , Hardware Enthusiast

Responses (12)