Hello everyone,I am using Far Manager [here is the main page of Far] (https://www.farmanager.com/) as a IDE and this blog will ↵
↵
tell you how to compile and run C++ 17 (64 bit) on Far Manager ↵
↵
If you are using Windows, you can easily install it via our minimalistic package manager PBOX running the command line pbox ↵
↵
install msys2-mingw64-9↵
↵
You can create file associations in Far Manager. Go to Menu (F9) -> Commands (C) -> File associations (A), then make a new file ↵
↵
association (Insert): g++ -static -DONLINE_JUDGE -Wl,--stack=268435456 -O2 -std=c++17 !.cpp -o !.exe↵
↵
like on this picture :↵
↵
![ ](https://photos.google.com/search/_tra_/photo/AF1QipO2vB8GrO33E4htPoxe4AxT6LgwJIK1RrIBrgd3)↵
↵
Now, when you press Enter on a file, say, sol.cpp, the command g++ -static -DONLINE_JUDGE -Wl,--stack=268435456 -O2 -std=c++17 ↵
↵
sol.cpp -o sol.exe will be executed. If all is well, the executable file e.exe will appear. For this to work, g++ must be already ↵
↵
in your PATH. Otherwise, provide the full path, like C:\Programs\msys2-mingw64-9\bin instead of just g++.↵
↵
↵
↵
tell you how to compile and run C++ 17 (64 bit) on Far Manager ↵
↵
If you are using Windows, you can easily install it via our minimalistic package manager PBOX running the command line pbox ↵
↵
install msys2-mingw64-9↵
↵
You can create file associations in Far Manager. Go to Menu (F9) -> Commands (C) -> File associations (A), then make a new file ↵
↵
association (Insert): g++ -static -DONLINE_JUDGE -Wl,--stack=268435456 -O2 -std=c++17 !.cpp -o !.exe
↵
↵
![ ](https://photos.google.com/search/_tra_/photo/AF1QipO2vB8GrO33E4htPoxe4AxT6LgwJIK1RrIBrgd3)↵
↵
Now, when you press Enter on a file, say, sol.cpp, the command g++ -static -DONLINE_JUDGE -Wl,--stack=268435456 -O2 -std=c++17 ↵
↵
sol.cpp -o sol.exe will be executed. If all is well, the executable file e.exe will appear. For this to work, g++ must be already ↵
↵
in your PATH. Otherwise, provide the full path, like C:\Programs\msys2-mingw64-9\bin instead of just g++.↵
↵
↵