run c++ code in sublime code example
Example 1: how to run your code in sublime text
Step1: Go to tool this is loacted at the top
Step2: click build
Shorcut: a shortcut to run it is ctrl+b
Example 2: c++ compiler for sublime text
{ "shell_cmd": "g++ \"${file}\" -o \"${file_path}\\\\${file_base_name}\"", "file_regex": "^(..[^:]):([0-9]+):?([0-9]+)?:? (.)$","working_dir": "${file_path}", "selector": "source.c, source.c++", "variants": [ {...