Download this exe,
then extract file to C:\
Setting environment variable, copy the path of the bin
Install Visual Studio Code:
https://code.visualstudio.com/
Install extension in VSCode:
code runner
c/c++
One dark atom
vscode-icons
SETTING: CTRL + SHIFT +P
c/c++ ===> Edit Configuration==> Muncul ".vscode"==> Edit Configuration c_cpp_properties
tasks.json
tasks.json: https://pastebin.com/jMJ9Gcnc
settings.json: https://pastebin.com/EwThya90
launch.json: https://pastebin.com/TLV46A7j
BUILD: CTRL + SHIFT +B
g++ --version
settings.json
{
"C_Cpp_Runner.cCompilerPath": "gcc",
"C_Cpp_Runner.cppCompilerPath": "g++",
"C_Cpp_Runner.debuggerPath": "gdb",
"C_Cpp_Runner.cStandard": "",
"C_Cpp_Runner.cppStandard": "",
"C_Cpp_Runner.msvcBatchPath": "",
"C_Cpp_Runner.useMsvc": false,
"C_Cpp_Runner.warnings": [
"-Wall",
"-Wextra",
"-Wpedantic",
"-Wshadow",
"-Wformat=2",
"-Wconversion",
"-Wnull-dereference",
"-Wsign-conversion"
],
"C_Cpp_Runner.enableWarnings": true,
"C_Cpp_Runner.warningsAsError": false,
"C_Cpp_Runner.compilerArgs": [],
"C_Cpp_Runner.linkerArgs": [],
"C_Cpp_Runner.includePaths": [],
"C_Cpp_Runner.includeSearch": [
"*",
"**/*"
],
"C_Cpp_Runner.excludeSearch": [
"**/build",
"**/build/**",
"**/.*",
"**/.*/**",
"**/.vscode",
"**/.vscode/**"
],
"C_Cpp_Runner.useAddressSanitizer": false,
"C_Cpp_Runner.showCompilationTime": false
}