C++ 17 (64 bit) in Far Maneger
Difference between en1 and en2, changed 118 character(s)
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++.↵


History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en6 English touristnct 2020-04-01 15:27:38 22 Thay đổi nhỏ: 'ture: \ n \ n \ n \ nNow, w' -> 'ture: \ n \ nhttps: //ibb.co/LhYrZWK \ n \ nNow, w'
en5 English touristnct 2020-04-01 15:26:27 54
en4 English touristnct 2020-04-01 15:23:48 99
en3 English touristnct 2020-04-01 13:55:57 4 Tiny change: 'ture :\n\n![ ](https://p' -> 'ture :\n\n(https://p'
en2 English touristnct 2020-04-01 13:54:21 118
en1 English touristnct 2020-04-01 13:53:01 1001 Initial revision (published)