VS Code Configuration (Live input output) For C/C++ to make Competitive Programming Easy (Linux)

preview_player
Показать описание
(Use Headphone)
This vs code configuration is mainly for competitive programmers which will help you to run your c/cpp file with one click or shortcut.

Рекомендации по теме
Комментарии
Автор

I struggled for 2 days finding the json code for linux for this config but your code is the only one that worked thank you very much

sasukeuchiha
Автор

bro output is showing well but not taking input in input.txt

MaheshYadav-wffe
Автор

At line:1 char:146
+ ... dsa\jspwTest.cpp' ; g++ jspwTest.cpp -o jspwTest ; jspwTest < input.t ...
+ ~
The '<' operator is reserved for future use.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordEx
ception
+ FullyQualifiedErrorId : RedirectionNotSupported

vibhorsharmaz
Автор

can this be done only on linux, cant it be in windows?

divishabhardwaj
Автор

Sir where should you paste the code in task. Json means after which line you paste .... It did not seem clear

GrowwithVivek
Автор

Sir can you please make a video for mac as well

greeshmathadana
Автор

jspwTest.cpp:1:1: error: expected unqualified-id before numeric constant, this error is coming it is showing some problems in jspwTest.cpp file
Please reply ASAP

Saksham-skcd
Автор

Ctrl+?
Not able to hear properly at 4:10

arpitgupta
Автор

The terminal process "C:\Program Files\Git\bin\bash.exe '--login', '-i', '-c', ' copy && g++ jspwTest.cpp -o jspwTest && jspwTest < input.txt > output.txt && del jspwTest.exe && del jspwTest.cpp'" terminated with exit code: 127.


it was working fine but after some time it is showing this error

jakeperalta
Автор

Solution for infinite loop that freeze system..

ankitshrestha
Автор

sir use hindi u will be fluent and it will be easy for us to understand

ZaidAnsari-hfzw
Автор

Hey Bro it is not working, gives so much error


At line:1 char:164
+ ... -path_name-jspwTest.cpp' && g++ jsp ...
+ ~~
The token '&&' is not a valid statement separator in this version.
At line:1 char:196
+ ... pur\Solution\jspwTest.cpp' && g++ jspwTest.cpp -o jspwTest && jspwTes ...
+ ~~
The token '&&' is not a valid statement separator in this version.
At line:1 char:208
+ ... n\jspwTest.cpp' && g++ jspwTest.cpp -o jspwTest && jspwTest < input.t ...
+ ~
The '<' operator is reserved for future use.
At line:1 char:233
+ ... wTest.cpp -o jspwTest && jspwTest < input.txt > output.txt && del jsp ...
+ ~~
The token '&&' is not a valid statement separator in this version.
At line:1 char:253
+ ... t && jspwTest < input.txt > output.txt && del jspwTest.exe && del jsp ...
+ ~~
The token '&&' is not a valid statement separator in this version.
+ CategoryInfo : ParserError: (:) [],
+ FullyQualifiedErrorId : InvalidEndOfLine

bidyasagarmohapatra
Автор

Executing task: copy "D:\Programming\DSA 'D:\Programming\DSA Pracs\Hashing\jspwTest.cpp' && g++ jspwTest.cpp -o jspwTest && jspwTest < input.txt > output.txt && del jspwTest.exe && del jspwTest.cpp

ParserError:
Line |
1 | … g\jspwTest.cpp' && g++ jspwTest.cpp -o jspwTest && jspwTest < input.t

| ~
| The '<' operator is reserved for future use.

* The terminal process -Command copy "D:\Programming\DSA 'D:\Programming\DSA Pracs\Hashing\jspwTest.cpp' && g++ jspwTest.cpp -o jspwTest && jspwTest < input.txt > output.txt && del jspwTest.exe && del jspwTest.cpp" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.

manassingha