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

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

PAUL SABU
PAUL SABU

Written by PAUL SABU

Loves To Play with MicroControllers , Hardware Enthusiast

Responses (14)

Write a response

This is really helpful, Thanks a lot :)

1

This was helpful thanks!

2

Thx a lot. It worked.

6