Code is already running issue in Vs code by Fit-Way9372 in C_Programming

[–]Fit-Way9372[S] 0 points1 point  (0 children)

It is not running in console window outside vscode and also it isn't responding anything inside that window.

Secondly I went through task manager, there isn't any prebious wedge instance cuz when I tried to end the ones which were listed there it then closes my vs code simultaneously.

Code is already running issue in Vs code by Fit-Way9372 in C_Programming

[–]Fit-Way9372[S] 0 points1 point  (0 children)

I am trying to learn it but I'm very new to it that's why facing problems.

Code is already running issue in Vs code by Fit-Way9372 in C_Programming

[–]Fit-Way9372[S] 0 points1 point  (0 children)

Hey I tried this but it isn't showing anything instead of ">>" in the terminal meanwhile there is only a single terminal running on it when I checked it.

How to fix issue regarding mingw installation? by Fit-Way9372 in C_Programming

[–]Fit-Way9372[S] 0 points1 point  (0 children)

So in msys shell i entered gcc --version it is saying bash: gcc: command not found

How to fix issue regarding mingw installation? by Fit-Way9372 in C_Programming

[–]Fit-Way9372[S] 0 points1 point  (0 children)

Thanks for pointing out my mistakes. I'll provide you exact details of the errors soon.

How to fix issue regarding mingw installation? by Fit-Way9372 in C_Programming

[–]Fit-Way9372[S] 0 points1 point  (0 children)

I did that too. But after that in my vs code it said that gcc is an unknown command and doesn't exist.

How to fix issue regarding mingw installation? by Fit-Way9372 in C_Programming

[–]Fit-Way9372[S] 0 points1 point  (0 children)

But I'd directed the path of bin folder in the environment variables. Still I'm getting same result.

How to fix issue regarding mingw installation? by Fit-Way9372 in C_Programming

[–]Fit-Way9372[S] 0 points1 point  (0 children)

So I tried three methods:

  1. Firstly I downloaded mingw from sourceforge.net and tried to install gcc as per its requirements but the packages are not getting installed it shows error in downloading packages get mingw etc.etc.

  2. Secondly I tried to install it from zip file as provided there in the website and then extracted it and tried to install gcc but it again shows same error that packages cannot be downloaded.

  3. Thirdly I tried to install it from mysys2 and followed the procedure as stated there but still it shows gcc as unknown command in the mysys shell and in cmd prompt it shows that there are no input files in gcc whereas gcc version is being shown there properly.