C++ Build for Sublime Text 3 (Windows)

Правка en1, от harshit2202, 2019-01-16 10:13:34

I have been trying to run C++ file on Sublime Text 3 (Windows). I got the following sublime-build code

{ "cmd": ["g++","-std=c++14", "{file}", " - o", "{file_base_name}.exe", "&&" , "${file_base_name}.exe<inputf.in>outputf.in"], "shell":true, "working_dir":"$file_path", "selector":"source.c,source.cpp,source.c++", "path": "C:/MinGW/bin", }

But the problem is that if my code goes for TLE, it does not end the code after some time like timeout Rather it just runs infinitely and i have to open task manager to close that .exe file

Any suggestion on how to improve that?

Теги c++ build, sublime text 3, timeout

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский harshit2202 2019-01-16 10:13:34 631 Initial revision (published)