标签:style blog http color 使用 os 文件 io
{ "cmd":["g++","${file}","-o","${file_path}/${file_base_name}"],//For GCC OnWindowsandLinux //"cmd":["CL","/Fo${file_base_name}","/O2","${file}"],//For CL on WindowsOnly "file_regex":"^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", "working_dir":"${file_path}", "selector":"source.c, source.c++", "variants": [ { "name":"Run", //"cmd":["bash","-c","g++ ‘${file}‘ -o ‘${file_path}/${file_base_name}‘ && ‘${file_path}/${file_base_name}‘"]//LinuxOnly "cmd":["CMD","/U","/C","g++ ${file} -o ${file_base_name} && ${file_base_name}"]//For GCC OnWindowsOnly //"cmd":["CMD","/U","/C","CL /Fo${file_base_name} /O2 ${file} && ${file_base_name}"]//For CL OnWindowsOnly } ] }
#include<stdio.h> int main() { printf("hello world!\n"); return0; }
Sublime Text2上搭建C/C++环境,布布扣,bubuko.com
标签:style blog http color 使用 os 文件 io
原文地址:http://www.cnblogs.com/izxcheng/p/3873329.html