- Download
Sublime Text Editorlink - Create 3 files called
input.txt,output.txtandmms.cppin the same directory as your source code file. - Open this directory in Sublime Text Editor.
- Go to
View-->Layout-->Columns: 3 - Go to
View-->Groups-->Max Columns: 2 - Open
mms.cppin the left column andinput.txtandoutput.txtin the right column. - Open system terminal and run
sudo apt install nautilus-adminto install nautilus-admin. - Go to
File System-->usr/local/include. Right click and selectOpen as Root. - Again go to the same directory
usr/local/includeand create a folder inside it calledbitsand inside it create a file calledstdc++.h. - Copy paste the contents of this file in
stdc++.hand save it. - Go to
.config/sublime-text-3/Packages/Userand copy paste those [3 files] in this directory. - Go to
Tools-->Build Systemand selectC++14. - Now you can compile and run your code using
Ctrl + B.
mdmarufsarker/sublime-text-editor-setup
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|