Hi guys,
During writing code, we got irritated when we stuck at some problem and try to find the solution on the internet but can't find it.I am here with a problem faced by my friend.
the problem is during running code in a terminal the terminal gets crashed just after running it without entering any input and shows an extension after compilation is EXE.APC.VIR in vs code.
This is due to the terminal is set by default in command prompt.
step 1:- go to the terminal window and click the window navigator where "code" is written in the top right of the terminal and click "select default shell"
step 2:- select Powershell as default in the next window or popup.
and then run your program you are now getting .exe file and code works fine.
Top comments (0)