Hướng dẫn cài đặt WinGW và thêm vào Sublime Text 3 / Build C/C++ bằng Sublime Text 3 Command line.
/*——————————————————————————————————*/
Link MinGW:
Link Sublime Text 3:
/*——————————————————————————————————*/
Link code plugin sublime text 3:
(Google Drive):
(OneDrive):
/*——————————————————————————————————–*/
Code Demo:
(Google Drive):
(OneDrive):
Nguồn: https://codeigniterbrasil.com
Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-php/
Xem thêm Bài Viết:
- MDM là gì??? – Làm thế nào để tắt được MDM trên Macbook | Mẹo Vặt Macbook
- Người lao động nghỉ bị trừ lương || Tư vấn luật lao động
- Learn Emmet In 15 Minutes – Double Your HTML Coding Speed
- Giang Hồ Thanh Toán Nhau Trên Phố – Tập 4 – Giang Hồ Bắn Giết Nhau Trên Đường | Big Bang
- Lập trình Android A-Z – Bài 159: Fragment Create and add XML
Yatte Miru
May 23, 2020thanks anh
Quốc Bảo
May 23, 2020Em vừa tải Mingw về giải nén ra thì không thấy File Setup đâu cả. Anh coi lại giúp em với
Huyến Nguyễn Văn
May 23, 2020giúp em với
Huyến Nguyễn Văn
May 23, 2020g++: error: : No such file or directory
g++: fatal error: no input files
compilation terminated.
[Finished in 0.1s with exit code 1]
[cmd: ['g++', '-Wall', '-ansi', '-pedantic-errors', '', '-o', '.exe', '&&', 'start', 'cmd', '/k', '']]
[dir: C:Program FilesSublime Text 3]
[path: C:Program Files (x86)CodeBlocksMinGWbin;C:Program FilesIntelIntel(R) Management Engine ComponentsiCLS;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:WindowsSystem32OpenSSH;C:Program Files (x86)NVIDIA CorporationPhysXCommon;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsDAL;C:Program FilesIntelIntel(R) Management Engine ComponentsDAL;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsIPT;C:Program FilesIntelIntel(R) Management Engine ComponentsIPT;C:Program Filesdotnet;C:Program FilesMicrosoft SQL Server130ToolsBinn;C:Program FilesMicrosoft SQL ServerClient SDKODBC130ToolsBinn;C:Program Files (x86)Microsoft SQL Server140ToolsBinn;C:Program FilesMicrosoft SQL Server140ToolsBinn;C:Program FilesMicrosoft SQL Server140DTSBinn;C:Program Files (x86)Microsoft SQL ServerClient SDKODBC130ToolsBinn;C:Program Files (x86)Microsoft SQL Server140DTSBinn;C:Program Files (x86)Microsoft SQL Server140ToolsBinnManagementStudio;C:Program FilesMicrosoft SQL ServerClient SDKODBC110ToolsBinn;C:Program Files (x86)Microsoft SQL Server120ToolsBinn;C:Program FilesMicrosoft SQL Server120ToolsBinn;C:Program FilesMicrosoft SQL Server120DTSBinn;C:Program Files (x86)Microsoft SQL Server120ToolsBinnManagementStudio;C:Program Files (x86)Microsoft SQL Server120DTSBinn;C:UsersAdminDesktopTổng Hợp Các Thìcodemingw64bin;C:UsersAdminAppDataLocalMicrosoftWindowsApps;;C:UsersAdminAppDataLocalProgramsMicrosoft VS Codebin] ====> anh ơi nó ra lỗi vậy ạ
Vo Cong Minh
May 23, 2020sao lúc e build nó lại ghi " no build system" vậy a
Đức Duong
May 23, 2020No packages available for installation” error when trying to install packages through secure channel nó bị vậy là sao ạ ko cài thêm đc public
my pham
May 23, 2020a ơi cho hỏi làm sao để chạy được cái file .exe ngoài desktop thế ạ >?>
Đức Duong
May 23, 2020win 8 ntn ạ
nguyên nguyễn ngọc
May 23, 2020thanks bs
Thanh Huy
May 23, 2020Lúc kiểm tra bang cmd thì nó hiện 'gcc' is not recognized as an internal or external command . Giúp em với anh ơi !!
đạt vũ
May 23, 2020mình làm giống bạn nhưng bỏ quả bước làm ở quá trình 3:46 rồi khi viết ct nó báo lỗi này :
g++: error: : No such file or directory
g++: fatal error: no input files
compilation terminated.
[Finished in 0.1s with exit code 1]
[cmd: ['g++', '-Wall', '-ansi', '-pedantic-errors', '', '-o', '.exe', '&&', 'start', 'cmd', '/k', '']]
[dir: I:Program FilesSublime Text 3]
giúp mình với !
thank you.
Hoàng Tuyến
May 23, 2020k dc
Bảo
May 23, 2020Chào anh, em có nhấn vào link code plugin subline text 3 ở trên thì được One Drive báo là " This item cannot be open right now – The person sharing this it exceeded their sharing limit. Please try again later ". Mong anh hỗ trợ ạ.
Em cám ơn ! 🙂
Trọng Khoa
May 23, 2020win 7 32 bit làm như này đc không anh
Đức Hồng
May 23, 2020anh cho em hỏi khi em code hello world thì chạy bt, nhưng khi chạy 1 chương trình làm bài tập thì lại báo lỗi ạ
bai1.c: In function 'main':
bai1.c:7:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < n; i++)
^
bai1.c:7:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
[Finished in 0.1s with exit code 1]
[cmd: ['gcc', '-Wall', '-ansi', '-pedantic-errors', 'bai1.c', '-o', 'bai1.exe', '&&', 'start', 'cmd', '/k', 'bai1']]
[dir: F:SublimeTextbaitaplan2]
[path: C:ProgramDataOracleJavajavapath;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32WindowsPowerShellv1.0;C:TDM-GCC-32bin;C:Program Files (x86)Dev-CppMinGW64bin;C:UsershongdAppDataLocalMicrosoftWindowsApps;]
Trà Sơn
May 23, 2020lỗi này là ntn ạ
bên c
gcc: error: : No such file or directory
gcc: fatal error: no input files
compilation terminated.
'amp' is not recognized as an internal or external command,
operable program or batch file.
'amp' is not recognized as an internal or external command,
operable program or batch file.
[Finished in 0.1s]
————————————————-
bên c++
g++: error: : No such file or directory
g++: fatal error: no input files
compilation terminated.
'amp' is not recognized as an internal or external command,
operable program or batch file.
'amp' is not recognized as an internal or external command,
operable program or batch file.
[Finished in 0.1s with exit code 1]
[cmd: ['g++', '-Wall', '-ansi', '-pedantic-errors', '', '-o', '.exe', '&&', 'start', 'cmd', '/k', '']]
[dir: C:Program FilesSublime Text 3]
[path: C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)mingw-w64i686-7.2.0-posix-dwarf-rt_v5-rev1mingw32bin;C:Usersi am is beoAppDataLocalMicrosoftWindowsApps;]
Hữu Lâm Nguyễn
May 23, 2020Mình lỡ delete mất Path rồi thig làm tn b ơi ?
Đạt Nguyễn Chánh
May 23, 2020Mình thử chạy C++ thì nó không hỗ trợ kiểu dữ liệu long long.
Còn chạy C++ 14 thì
"Permission denied
collect2.exe: error: ld returned 1 exit status"
Phản hồi dùm mình cái này với ạ
Phùng Ngọc
May 23, 2020sao k thấy cái mã để code c vậy ạ
Tùng Đoàn
May 23, 2020CẢM ƠN ANH NHIỀU
Lĩnh Trần
May 23, 2020hoho: file not recognized: File format not recognized
collect2.exe: error: ld returned 1 exit status
[Finished in 0.1s]
lỗi này là sao bạn ơi 😀
thanh quy nguyễn
May 23, 2020link code sao vaof ko duoc ban
Nguyễn Quốc Cường
May 23, 2020Cho mình hỏi là mình cần sử dụng C++ 11 hoặc C++ 14 mà cái này chỉ chạy được ở C++ 98 thôi thì sao nhỉ ? Mình không thể sử dụng 1 số cú pháp mới trong C++ 11. Rất bất tiện !
Cảm ơn ad !
Nguyen Long
May 23, 2020cho hỏi sao khi code C xong khi run thì nó không ra kết quả mà chỉ hiễn thị dòng finished ở dưới thôi vậy.
Up TV
May 23, 2020chao anh! sublime text 3 này bắt buộc phải viết int main không được viết void main hả anh. em viết void main thì bị lỗi
Victor Nguyen
May 23, 2020gcc: fatal error: -fuse-linker-plugin, but liblto_plugin-0.dll not found
compilation terminated.
[Finished in 0.1s]
e bấm ctrl+b mà nó ra lỗi này là sao