Best setup for Competitive Programming (C++ ) in Windows 10 || ** Name output file as outputf.out **

preview_player
Показать описание
Hello everyone !!!
In this video, I have discussed how to prepare a setup for competitive programming in windows.
I have explained everything steps by step.

Link to download Sublime text editor: download and install sublime from here:

install MinGW from here:
NOTE:
Please make a little bit change in the below code (YouTube is not allowing me to write angular brackets thats why I have removed them.
{
"cmd": ["g++.exe", "-std=c++17", "${file}",
"-o", "${file_base_name}.exe",
"shell":true,
"working_dir":"$file_path",
}

OR YOU CAN SEE THIS FROM THIS SITE:
Рекомендации по теме
Комментарии
Автор

Some of the common errors people have been facing, i will keep updating this comment as i find more:
- To Build C++14, dont forget to use extension --> sublime-build
means save the build as C++14.sublime-build , otherwise it won't appear in build
- Your typing cursor needs to be in code window when you do build run, not in input or output window.
- Restart sublime after setting up gcc path on windows.
- Make sure the path to your working directory does not contain folder name with spaces in it and also filename of the cpp file should not have any spaces as well.
- SOLUTION FOR INFINITE LOOP IN WINDOWS -
For that infinite loop case in windows, here is the best solution : go to Preferences > Key Bindings and to the user side add this:
{ "keys" : ["ctrl+c"], "command": "cancel_build"}
Now, by pressing Ctrl+C the execution will stop. Of course, you can change the combination to whatever you want.

Er_Shashank_Singh
Автор

In Video there is one misspelling. Please correct it. Actually, you have shown that the file name will be output.out but it should be outputf.out .. Check it at 6:43

BiharCentralSchool
Автор

Bhai Build system me aa hi nhi rha h new file jo CPP14 bna rha hu sb kuch try kr liya

udbhavvikramsingh
visit shbcf.ru