{
"cmd": ["g++", "-std=c++11", "${file}", "-o", "${file_path}/${file_base_name}"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"shell": true,//打开cmd
"variants":
[
{
"name": "Run",
"cmd": [ "start", "${file_path}/${file_base_name}.exe"]
}
]
}
让sublime支持C++11标准,命令行输入
最新推荐文章于 2021-05-06 05:08:30 发布