fork download
  1. {
  2. "shell_cmd": "g++ -std=c++17 \"${file}\" -o \"${file_path}/${file_base_name}\" && \"${file_path}/${file_base_name}\"",
  3. "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
  4. "working_dir": "${file_path}",
  5. "selector": "source.c, source.c++",
  6. "variants":
  7. [
  8.  
  9. {
  10. "name": "Run",
  11. "shell_cmd": "g++ -std=c++17 \"${file}\" -o \"${file_path}/${file_base_name}\" && \"${file_path}/${file_base_name}\""
  12. }
  13. ]
  14. }
  15.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:1: error: expected unqualified-id before ‘{’ token
 {
 ^
stdout
Standard output is empty