-1

I am having "cd: too many arguments" in VSC terminal when I try to run simple helloworld (in C). This is the code. I am using code runner to run my code inside VSC.

#include<stdio.h>

int main()
{
   printf("Hello World");
   return 0;
}

And this is the error:

bash: cd: too many arguments
SilverShroud
  • 15
  • 1
  • 6

1 Answers1

0

Used this settings.json to fix the problem. And it worked.

{
    "code-runner.saveAllFilesBeforeRun": true,
    "code-runner.saveFileBeforeRun": true,
    "code-runner.runInTerminal": true
    "C_Cpp.updateChannel": "Insiders",
    "http.proxySupport": "off"

}
SilverShroud
  • 15
  • 1
  • 6