怎么为sublime text3 搭建,配置C++的IDE
2016-08-05 · 百度知道合伙人官方认证企业
兄弟连教育
兄弟连教育成立于2006年,11年来专注IT职业教育,是国内专业的IT技术培训学校。2016年成功挂牌新三板(股票代码:839467)市值过亿。开设专注程序员培训专注php、Java、UI、云计算、Python、HTML5、
向TA提问
关注
展开全部
拿到sublime,
将下载好的mingw“免安装版”拷贝到sublime根目录下
进入sublime-tools-build system-new build system,设置编译系统的配置文件,并保存文件名C++.sublime-build
[python] view plain copy
{
"path": "G:/Sublime Text 3_x64(Python and CPP)/MinGW/bin",
"cmd": ["g++.exe", "${file}", "-o", "${file_path}/${file_base_name}"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"encoding":"UTF-8",
"encoding": "cp936",
"variants":
[
{
"name": "Run",
"cmd": [ "${file_path}/${file_base_name}.exe"],
"shell": true,
"cmd" : ["start", "cmd", "/k", "${file_path}/${file_base_name} &&echo. & pause && exit"]
}
]
}
将下载好的mingw“免安装版”拷贝到sublime根目录下
进入sublime-tools-build system-new build system,设置编译系统的配置文件,并保存文件名C++.sublime-build
[python] view plain copy
{
"path": "G:/Sublime Text 3_x64(Python and CPP)/MinGW/bin",
"cmd": ["g++.exe", "${file}", "-o", "${file_path}/${file_base_name}"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"encoding":"UTF-8",
"encoding": "cp936",
"variants":
[
{
"name": "Run",
"cmd": [ "${file_path}/${file_base_name}.exe"],
"shell": true,
"cmd" : ["start", "cmd", "/k", "${file_path}/${file_base_name} &&echo. & pause && exit"]
}
]
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询