jspw / VS-Code-Config

VS Code Setting (Live input output) to make competitive programming easy and program analysis !
GNU General Public License v3.0
121 stars 48 forks source link

output.txt window does not show output , tasks.json shows errors #23

Closed AA-YUSHI closed 4 months ago

AA-YUSHI commented 5 months ago

hey after adding code in the tasks.jason file and performing all the steps as it is the termial shiw the following errors and even when the errors are solved the output.txt file does not show the output with the input.txt file input

Executing task: copy "C:\Users\Ayushi Shrivastava\c++ strivers.vscode\demo.cpp" 'C:\Users\Ayushi Shrivastava\c++ strivers\jspwTest.cpp' && g++ jspwTest.cpp -o jspwTest && jspwTest < input.txt > output.txt && del jspwTest.exe && del jspwTest.cpp

The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command copy "C:\Users\Ayushi Shrivastava\c++ strivers.vscode\demo.cpp" 'C:\Users\Ayushi Shrivastava\c++ strivers\jspwTest.cpp' && g++ jspwTest.cpp -o jspwTest && jspwTest < input.txt > output.txt && del jspwTest.exe && del jspwTest.cpp" terminated with exit code: 1.

jspw commented 5 months ago

from your logs, i assume you are using powershell as default terminal in vscode. Change the default terminal as cmd and try again.

Thanks for the patience @AA-YUSHI

jspw commented 4 months ago

@AA-YUSHI , As it has been 3 weeks and no response from you, also from your logs, it's udentified that its not a issue to the configuration, I am going to close this issue after 1 day.