I prefer this:
- Machine:
Windows 10
+Ubuntu via WSL
. - Editor - ST3
- Compiler, Debugger
- Use the
sublime text 3
- Use mingw64 compiler. Compile any
.cpp
file using
..mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin\g++ -std=c++17- -o hello.out hello.cpp
- Editor - Sublime
- Compiler - Use this
- Use the
sublime text 3
- Use gcc compiler. Compile any
.cpp
file usingg++ -std=c++17- -o hello.out hello.cpp
(in ST3 with packages installed)
- Multi-line comment: type
/**
and then enter - Single-line comment: ctrl + /
- For more refer to this.