30/09/2018, 23:55
Compile C bằng MinGW trong Sublime Text 3 bị lỗi

Build System:
{
"cmd": ["gcc", "-Wall", "-ansi", "-pedantic-errors", "$file_name", "-o", "${file_base_name}.exe", "&&", "start", "cmd", "/k" , "$file_base_name"],
"selector": "source.c",
"working_dir": "${file_path}",
"shell": true
}
Bài liên quan
Lỗi “Cannot open output file,” này do không đúng đường dẫn,bạn thử đến folder chứa Bai_02.cpp của bạn,mở cmd ở đường dẫn hiện tại,rồi thực hiện complile bằng lệnh gcc -o Bai_02 Bai_02.cpp xem