{"id":3274,"date":"2024-12-20T19:11:10","date_gmt":"2024-12-20T12:11:10","guid":{"rendered":"https:\/\/itsci.mju.ac.th\/~watcharin\/?p=3274"},"modified":"2025-01-10T15:53:22","modified_gmt":"2025-01-10T08:53:22","slug":"it10306103-%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-c-c-compiler-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-vscode","status":"publish","type":"post","link":"https:\/\/itscidev.mju.ac.th\/w\/?p=3274","title":{"rendered":"IT10306103: \u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 C\/C++ Compiler \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a VSCode"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Compiler C\/C++ \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a Window<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Visual Studio Code \u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e14\u0e35\u0e1a\u0e31\u0e01\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e20\u0e32\u0e29\u0e32 C\/C++ \u0e42\u0e14\u0e22\u0e02\u0e36\u0e49\u0e19\u0e2d\u0e22\u0e39\u0e48\u0e01\u0e31\u0e1a\u0e23\u0e30\u0e1a\u0e1a\u0e1b\u0e0f\u0e34\u0e1a\u0e31\u0e15\u0e34\u0e01\u0e32\u0e23\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e01\u0e33\u0e25\u0e31\u0e07\u0e43\u0e0a\u0e49:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0e40\u0e1b\u0e47\u0e19 Linux \u0e43\u0e0a\u0e49 GDB<\/li>\n\n\n\n<li>\u0e40\u0e1b\u0e47\u0e19 macOS \u0e43\u0e0a\u0e49 LLDB \u0e2b\u0e23\u0e37\u0e2d GDB<\/li>\n\n\n\n<li>\u0e40\u0e1b\u0e47\u0e19 Window \u0e43\u0e0a\u0e49 Visual Studio Windows Debugger \u0e2b\u0e23\u0e37\u0e2d GDB (\u0e08\u0e30\u0e15\u0e31\u0e49\u0e07\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Cygwin \u0e2b\u0e23\u0e37\u0e2d MinGW \u0e01\u0e48\u0e2d\u0e19)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 MinGW<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e43\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e40\u0e23\u0e32\u0e08\u0e30\u0e43\u0e0a\u0e49 MinGW \u0e43\u0e19\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e25\u0e07\u0e1a\u0e19\u0e23\u0e30\u0e1a\u0e1a\u0e1b\u0e0f\u0e34\u0e1a\u0e31\u0e15\u0e34\u0e01\u0e32\u0e23 Window \u0e0b\u0e36\u0e48\u0e07\u0e40\u0e23\u0e32\u0e08\u0e30\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e43\u0e2b\u0e49 VSCode \u0e43\u0e2b\u0e49\u0e43\u0e0a\u0e49 GCC C++ compiler (g++) \u0e41\u0e25\u0e30 GDB debugger \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e41\u0e25\u0e30\u0e23\u0e31\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e19\u0e31\u0e49\u0e19\u0e1a\u0e19 Window \u0e44\u0e14\u0e49 \u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e14\u0e39\u0e02\u0e49\u0e2d\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01 <a href=\"https:\/\/www.mingw-w64.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">mingw-w64<\/a> \u0e42\u0e14\u0e22\u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e41\u0e25\u0e49\u0e27\u0e40\u0e23\u0e32\u0e08\u0e30\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e25\u0e4c \u0e23\u0e31\u0e19 \u0e2b\u0e23\u0e37\u0e2d \u0e14\u0e35\u0e1a\u0e31\u0e01 \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e20\u0e32\u0e29\u0e32\u0e0b\u0e35\u0e44\u0e14\u0e49<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u0e02\u0e49\u0e2d\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e40\u0e1a\u0e37\u0e49\u0e2d\u0e07\u0e15\u0e49\u0e19<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/itsci.mju.ac.th\/~watcharin\/?p=798\" target=\"_blank\" rel=\"noreferrer noopener\">\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 VSCode<\/a><\/li>\n\n\n\n<li>\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e2a\u0e48\u0e27\u0e19\u0e40\u0e2a\u0e23\u0e34\u0e21 &nbsp;<a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-vscode.cpptools\" target=\"_blank\" rel=\"noreferrer noopener\">C\/C++ extension for VS Code<\/a> \u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 C\/C++ extension \u0e42\u0e14\u0e22\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e04\u0e33\u0e27\u0e48\u0e32 &#8216;C++&#8217; \u0e43\u0e19\u0e0a\u0e48\u0e2d\u0e07\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e43\u0e19 Extensions view (\u0e01\u0e14\u0e1b\u0e38\u0e48\u0e21 Ctrl+Shift+X \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e1b\u0e34\u0e14\u0e2b\u0e19\u0e49\u0e32 Extensions view)<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<figure class=\"wp-block-image alignwide size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"302\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2024\/12\/image-1024x302.png\" alt=\"\" class=\"wp-image-3281\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-1024x302.png 1024w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-300x88.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-768x227.png 768w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-1536x453.png 1536w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-2048x604.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n\n<h5 class=\"wp-block-heading\">\u0e42\u0e14\u0e22\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e2a\u0e48\u0e27\u0e19\u0e40\u0e2a\u0e23\u0e34\u0e21\u0e14\u0e31\u0e07\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e19\u0e35\u0e49<\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li>C\/C++ IntelliSense, debugging, and code browsing<\/li>\n\n\n\n<li>C\/C++ Themes<\/li>\n\n\n\n<li>C\/C++ Extension Pack<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e0a\u0e38\u0e14\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e21\u0e37\u0e2d MinGW-w64<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Get the latest version of MinGW-w64 via MSYS2, which provides up-to-date native builds of GCC, MinGW-w64, and other helpful C++ tools and libraries. This will provide you with the necessary tools to compile your code, debug it, and configure it to work with IntelliSense.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e0a\u0e49 MinGW-w64 \u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e19\u0e25\u0e48\u0e32\u0e2a\u0e38\u0e14\u0e1c\u0e48\u0e32\u0e19 MSYS2 \u0e0b\u0e36\u0e48\u0e07\u0e1b\u0e23\u0e30\u0e01\u0e2d\u0e1a\u0e44\u0e1b\u0e14\u0e49\u0e27\u0e22\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e21\u0e37\u0e2d\u0e41\u0e25\u0e30\u0e44\u0e25\u0e1a\u0e23\u0e32\u0e23\u0e35 C++ \u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e17\u0e35\u0e48\u0e21\u0e35\u0e01\u0e32\u0e23\u0e2d\u0e31\u0e1e\u0e40\u0e14\u0e17\u0e40\u0e1b\u0e47\u0e19\u0e1b\u0e23\u0e30\u0e08\u0e33\u0e17\u0e33\u0e43\u0e2b\u0e49\u0e40\u0e23\u0e32\u0e44\u0e14\u0e49\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e19\u0e25\u0e48\u0e32\u0e2a\u0e38\u0e14\u0e2d\u0e22\u0e39\u0e48\u0e40\u0e2a\u0e21\u0e2d \u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e21\u0e37\u0e2d\u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e40\u0e2b\u0e25\u0e48\u0e32\u0e19\u0e35\u0e49\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19\u0e41\u0e25\u0e30\u0e43\u0e0a\u0e49\u0e1b\u0e23\u0e30\u0e42\u0e22\u0e0a\u0e19\u0e4c\u0e08\u0e32\u0e01 GCC, MinGW-w64 \u0e44\u0e14\u0e49 \u0e42\u0e14\u0e22\u0e08\u0e30\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e25\u0e4c\u0e42\u0e04\u0e49\u0e14 \u0e14\u0e35\u0e1a\u0e31\u0e01 \u0e41\u0e25\u0e30\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e04\u0e48\u0e32\u0e43\u0e2b\u0e49\u0e17\u0e33\u0e07\u0e32\u0e19\u0e01\u0e31\u0e1a IntelliSense \u0e17\u0e35\u0e48\u0e40\u0e1b\u0e47\u0e19 Extension \u0e43\u0e19 VSCode \u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e14\u0e39\u0e27\u0e34\u0e14\u0e34\u0e42\u0e2d\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01\u0e25\u0e34\u0e07\u0e04\u0e4c\u0e19\u0e35\u0e49 (<a href=\"https:\/\/youtu.be\/oC69vlWofJQ\" target=\"_blank\" rel=\"noreferrer noopener\">Installing MinGW to build C++ Code on Windows<\/a>)<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 MinGW-w64 \u0e1c\u0e48\u0e32\u0e19 MSYS2<\/h5>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-1f26014c wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">1. \u0e01\u0e32\u0e23\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e15\u0e31\u0e27\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e25\u0e48\u0e32\u0e2a\u0e38\u0e14\u0e02\u0e2d\u0e07 MSYS2 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2b\u0e32\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e02\u0e2d\u0e07 MYSYS2 \u0e2b\u0e23\u0e37\u0e2d\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e42\u0e14\u0e22\u0e15\u0e23\u0e07\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01\u0e25\u0e34\u0e07\u0e04\u0e4c\u0e19\u0e35\u0e49 (\u0e08\u0e32\u0e01\u0e40\u0e27\u0e47\u0e1a <a href=\"https:\/\/itsci.mju.ac.th\/downloads\/watcharin\/it103\/msys2-x86_64-20241208.exe\" target=\"_blank\" rel=\"noreferrer noopener\">\u0e2a\u0e32\u0e02\u0e32\u0e44\u0e2d\u0e17\u0e35<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. \u0e23\u0e31\u0e19\u0e15\u0e31\u0e27\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e41\u0e25\u0e30\u0e17\u0e33\u0e15\u0e32\u0e21\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e02\u0e2d\u0e07\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 (MYSYS2 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e1a\u0e19 Windows \u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e19 8.1 \u0e02\u0e36\u0e49\u0e19\u0e44\u0e1b\u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. \u0e43\u0e19\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e43\u0e2b\u0e49\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e15\u0e33\u0e41\u0e2b\u0e19\u0e48\u0e07\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 \u0e40\u0e0a\u0e48\u0e19 <code>C:\\msys64<\/code> \u0e41\u0e25\u0e30\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e40\u0e2a\u0e23\u0e47\u0e08\u0e08\u0e30\u0e15\u0e31\u0e49\u0e07\u0e41\u0e19\u0e48\u0e43\u0e08\u0e27\u0e48\u0e32\u0e40\u0e23\u0e32\u0e44\u0e14\u0e49\u0e23\u0e31\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 &#8220;Run MSYS2 now&#8221; \u0e0b\u0e36\u0e48\u0e07\u0e08\u0e30\u0e21\u0e35 checked box \u0e41\u0e08\u0e49\u0e07\u0e43\u0e19\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e2a\u0e38\u0e14\u0e17\u0e49\u0e32\u0e22\u0e01\u0e48\u0e2d\u0e19\u0e01\u0e14\u0e1b\u0e38\u0e48\u0e21 &#8220;Finish&#8221; \u0e0b\u0e36\u0e48\u0e07\u0e08\u0e30\u0e40\u0e1b\u0e34\u0e14\u0e2b\u0e19\u0e49\u0e32\u0e15\u0e48\u0e32\u0e07 MSYS2 Terminal \u0e43\u0e2b\u0e49\u0e40\u0e23\u0e32<\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-1f26014c wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">4. \u0e43\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e15\u0e48\u0e32\u0e07 MSYS2 Terminal \u0e40\u0e23\u0e32\u0e08\u0e30\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 MinGW-w64 toolchain \u0e42\u0e14\u0e22\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e14\u0e31\u0e07\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e19\u0e35\u0e49 <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain<\/code><\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-1f26014c wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">5. \u0e43\u0e2b\u0e49\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e17\u0e38\u0e01 \u0e46 packages \u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e17\u0e35\u0e48\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e41\u0e19\u0e30\u0e19\u0e33\u0e42\u0e14\u0e22\u0e01\u0e14\u0e1b\u0e38\u0e48\u0e21 &#8220;Enter&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"343\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2024\/12\/image-1-1024x343.png\" alt=\"\" class=\"wp-image-3287\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-1-1024x343.png 1024w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-1-300x101.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-1-768x258.png 768w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-1.png 1270w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">6. \u0e01\u0e14\u0e1b\u0e38\u0e48\u0e21 &#8220;Y&#8221; \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e44\u0e14\u0e49\u0e23\u0e31\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e27\u0e48\u0e32\u0e08\u0e30\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">7. \u0e40\u0e1e\u0e34\u0e48\u0e21\u0e15\u0e33\u0e41\u0e2b\u0e19\u0e48\u0e07\u0e17\u0e35\u0e48\u0e2d\u0e22\u0e39\u0e48\u0e02\u0e2d\u0e07\u0e42\u0e1f\u0e25\u0e40\u0e14\u0e2d\u0e23\u0e4c bin \u0e43\u0e19 MinGW-w64 \u0e44\u0e1b\u0e22\u0e31\u0e07 environment \u0e02\u0e2d\u0e07 Windows  \u0e43\u0e19\u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23\u0e0a\u0e37\u0e48\u0e2d PATH \u0e02\u0e2d\u0e07 Windows \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e19\u0e35\u0e49:<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-995f960e wp-block-group-is-layout-flex\">\n<div style=\"height:100px;width:0px\" aria-hidden=\"true\" class=\"wp-block-spacer wp-container-content-1ac3d91d\"><\/div>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-1f26014c wp-block-group-is-layout-flex\">\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-995f960e wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">1. \u0e43\u0e19 Windows search bar \u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e27\u0e48\u0e32 <code>edit the system environment<\/code> \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e1b\u0e34\u0e14 Edit the system environment variable<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"511\" height=\"338\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2024\/12\/image-2.png\" alt=\"\" class=\"wp-image-3294\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-2.png 511w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-2-300x198.png 300w\" sizes=\"(max-width: 511px) 100vw, 511px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-995f960e wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">1. \u0e43\u0e19\u0e41\u0e17\u0e1b Advance \u0e14\u0e49\u0e32\u0e19\u0e25\u0e48\u0e32\u0e07\u0e01\u0e14\u0e1b\u0e38\u0e48\u0e21 Environment variable&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"546\" height=\"572\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2024\/12\/image-3.png\" alt=\"\" class=\"wp-image-3295\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-3.png 546w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-3-286x300.png 286w\" sizes=\"(max-width: 546px) 100vw, 546px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-995f960e wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">1. \u0e43\u0e19\u0e0a\u0e48\u0e2d\u0e07 User Variables for &#8230; \u0e40\u0e25\u0e37\u0e2d\u0e01\u0e15\u0e49\u0e27\u0e41\u0e1b\u0e23\u0e0a\u0e37\u0e48\u0e2d Path \u0e01\u0e14\u0e1b\u0e38\u0e48\u0e21 Edit<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"777\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2024\/12\/image-5.png\" alt=\"\" class=\"wp-image-3298\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-5.png 706w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-5-273x300.png 273w\" sizes=\"(max-width: 706px) 100vw, 706px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-995f960e wp-block-group-is-layout-flex\">\n<ol class=\"wp-block-list\">\n<li>\u0e2a\u0e40\u0e25\u0e37\u0e2d\u0e01 New \u0e41\u0e25\u0e30\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e42\u0e1f\u0e25\u0e40\u0e14\u0e2d\u0e23\u0e4c\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07\u0e02\u0e2d\u0e07 MinGW-w64 \u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e44\u0e27\u0e49\u0e23\u0e30\u0e2b\u0e27\u0e48\u0e32\u0e07\u0e01\u0e23\u0e30\u0e1a\u0e27\u0e19\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e25\u0e07\u0e43\u0e19\u0e23\u0e32\u0e22\u0e01\u0e32\u0e23 \u0e40\u0e0a\u0e48\u0e19: <code>C:\\msys64\\ucrt64\\bin<\/code> \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e01\u0e14\u0e1b\u0e38\u0e48\u0e21 OK<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"664\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2024\/12\/image-4.png\" alt=\"\" class=\"wp-image-3299\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-4.png 602w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-4-272x300.png 272w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/figure>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<h5 class=\"wp-block-heading\">\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 MinGW<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e43\u0e19\u0e01\u0e32\u0e23\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e21\u0e37\u0e2d MinGW-w64 \u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32\u0e44\u0e14\u0e49\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e41\u0e25\u0e30\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48 \u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e34\u0e14\u0e1e\u0e23\u0e2d\u0e21\u0e15\u0e4c\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e43\u0e2b\u0e21\u0e48\u0e41\u0e25\u0e30\u0e1e\u0e34\u0e21\u0e1e\u0e4c:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>gcc --version\ng++ --version\ngdb --version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e40\u0e23\u0e32\u0e04\u0e27\u0e23\u0e40\u0e2b\u0e47\u0e19\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c\u0e17\u0e35\u0e48\u0e23\u0e30\u0e1a\u0e38\u0e27\u0e48\u0e32\u0e40\u0e23\u0e32\u0e44\u0e14\u0e49\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 GCC, g++ \u0e41\u0e25\u0e30 GDB \u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e19\u0e43\u0e14 \u0e2b\u0e32\u0e01\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u0e2a\u0e23\u0e49\u0e32\u0e07 Hello World \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e41\u0e23\u0e01\u0e2a\u0e23\u0e49\u0e32\u0e07 C\/C++ \u0e42\u0e1b\u0e23\u0e40\u0e08\u0e47\u0e04\u0e01\u0e48\u0e2d\u0e19<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e40\u0e1b\u0e34\u0e14\u0e43\u0e0a\u0e49 Terminal \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e23\u0e31\u0e19\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e02\u0e2d\u0e07 Windows (\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21 cmd \u0e43\u0e19\u0e41\u0e16\u0e1a\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e02\u0e2d\u0e07 Windows)<\/p>\n\n\n\n<div class=\"wp-block-group is-content-justification-center is-nowrap is-layout-flex wp-container-core-group-is-layout-e408d98a wp-block-group-is-layout-flex\" style=\"padding-right:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"934\" height=\"385\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2024\/12\/image-6.png\" alt=\"\" class=\"wp-image-3304\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-6.png 934w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-6-300x124.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-6-768x317.png 768w\" sizes=\"(max-width: 934px) 100vw, 934px\" \/><\/figure>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e23\u0e31\u0e19\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e19\u0e35\u0e49 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e42\u0e1f\u0e25\u0e40\u0e14\u0e2d\u0e23\u0e4c\u0e27\u0e48\u0e32\u0e07\u0e0a\u0e37\u0e48\u0e2d projects \u0e0b\u0e36\u0e48\u0e07\u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e01\u0e47\u0e1a C\/C++ \u0e42\u0e1b\u0e23\u0e40\u0e08\u0e47\u0e01\u0e15\u0e4c\u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32\u0e44\u0e14\u0e49 \u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e19\u0e35\u0e49\u0e08\u0e30\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e41\u0e25\u0e30\u0e22\u0e49\u0e32\u0e22\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e42\u0e1f\u0e25\u0e40\u0e14\u0e2d\u0e23\u0e4c\u0e22\u0e48\u0e2d\u0e22\u0e0a\u0e37\u0e48\u0e2d helloworld \u0e41\u0e25\u0e30\u0e08\u0e30\u0e40\u0e1b\u0e34\u0e14 helloworld \u0e42\u0e14\u0e22\u0e15\u0e23\u0e07\u0e43\u0e19 VS Code (\u0e2d\u0e32\u0e08\u0e43\u0e0a\u0e49\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Window Explorer \u0e2a\u0e23\u0e49\u0e32\u0e07\u0e41\u0e25\u0e30\u0e40\u0e1b\u0e34\u0e14 VSCode \u0e44\u0e1b\u0e22\u0e31\u0e07\u0e42\u0e1f\u0e25\u0e40\u0e14\u0e2d\u0e23\u0e4c\u0e19\u0e31\u0e49\u0e19\u0e44\u0e14\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e2d\u0e35\u0e01\u0e27\u0e34\u0e18\u0e35\u0e2b\u0e19\u0e36\u0e48\u0e07)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir projects\ncd projects\nmkdir helloworld\ncd helloworld\ncode .<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e2b\u0e32\u0e01\u0e1b\u0e23\u0e32\u0e01\u0e0e\u0e2b\u0e19\u0e49\u0e32\u0e15\u0e48\u0e32\u0e07 &#8220;Do you trust the authors &#8230;&#8221; \u0e43\u0e2b\u0e49\u0e40\u0e0a\u0e47\u0e04 Trust the &#8230; \u0e41\u0e25\u0e30\u0e01\u0e14\u0e1b\u0e38\u0e48\u0e21 Yes &#8230;<\/p>\n\n\n\n<div class=\"wp-block-group is-content-justification-center is-nowrap is-layout-flex wp-container-core-group-is-layout-dc2f811c wp-block-group-is-layout-flex\" style=\"padding-right:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"504\" height=\"335\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2024\/12\/image-7.png\" alt=\"\" class=\"wp-image-3306\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-7.png 504w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-7-300x199.png 300w\" sizes=\"(max-width: 504px) 100vw, 504px\" \/><\/figure>\n<\/div>\n\n\n\n<h5 class=\"wp-block-heading\">\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e44\u0e1f\u0e25\u0e4c\u0e42\u0e04\u0e49\u0e14\u0e15\u0e49\u0e19\u0e09\u0e1a\u0e31\u0e1a Hello World<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e43\u0e19\u0e41\u0e16\u0e1a\u0e0a\u0e37\u0e48\u0e2d File Explorer \u0e43\u0e2b\u0e49\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e1b\u0e38\u0e48\u0e21\u0e44\u0e1f\u0e25\u0e4c\u0e43\u0e2b\u0e21\u0e48 \u0e41\u0e25\u0e30\u0e15\u0e31\u0e49\u0e07\u0e0a\u0e37\u0e48\u0e2d\u0e44\u0e1f\u0e25\u0e4c\u0e27\u0e48\u0e32 helloworld.c<\/p>\n\n\n\n<div class=\"wp-block-group is-content-justification-center is-nowrap is-layout-flex wp-container-core-group-is-layout-dc2f811c wp-block-group-is-layout-flex\" style=\"padding-right:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"470\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2024\/12\/image-8.png\" alt=\"\" class=\"wp-image-3308\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-8.png 940w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-8-300x150.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-8-768x384.png 768w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/figure>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e42\u0e04\u0e49\u0e14\u0e15\u0e49\u0e19\u0e09\u0e1a\u0e31\u0e1a Hello World<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h&gt;\n\nint main()\n{\n    printf(\"Hello, World!\");\n    return 0;\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49\u0e01\u0e14 Ctrl+S \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e44\u0e1f\u0e25\u0e4c \u0e2a\u0e31\u0e07\u0e40\u0e01\u0e15\u0e27\u0e48\u0e32\u0e44\u0e1f\u0e25\u0e4c\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e40\u0e1e\u0e34\u0e48\u0e07\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e19\u0e31\u0e49\u0e19\u0e1b\u0e23\u0e32\u0e01\u0e0f\u0e43\u0e19\u0e21\u0e38\u0e21\u0e21\u0e2d\u0e07 File Explorer (Ctrl+Shift+E) \u0e43\u0e19\u0e41\u0e16\u0e1a\u0e14\u0e49\u0e32\u0e19\u0e02\u0e49\u0e32\u0e07\u0e02\u0e2d\u0e07 VS Code:<\/p>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-995f960e wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-full\" style=\"margin-right:var(--wp--preset--spacing--30);margin-left:var(--wp--preset--spacing--30)\"><img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"374\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2024\/12\/image-9.png\" alt=\"\" class=\"wp-image-3310\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-9.png 664w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-9-300x169.png 300w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/><\/figure>\n<\/div>\n\n\n\n<h5 class=\"wp-block-heading\">\u0e23\u0e31\u0e19 helloworld.cpp<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e2a\u0e48\u0e27\u0e19\u0e02\u0e22\u0e32\u0e22 C++ \u0e08\u0e30\u0e43\u0e0a\u0e49\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e40\u0e25\u0e2d\u0e23\u0e4c C++ \u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e44\u0e27\u0e49\u0e43\u0e19\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 \u0e2b\u0e32\u0e01\u0e27\u0e48\u0e32\u0e40\u0e23\u0e32\u0e44\u0e14\u0e49\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23\u0e15\u0e32\u0e21\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19 &#8220;\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e0a\u0e38\u0e14\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e21\u0e37\u0e2d MinGW-w64&#8221; \u0e40\u0e2a\u0e23\u0e47\u0e08\u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22\u0e2d\u0e22\u0e32\u0e01\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e48\u0e2d\u0e19\u0e1e\u0e22\u0e32\u0e22\u0e32\u0e21\u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49\u0e41\u0e25\u0e30\u0e41\u0e01\u0e49\u0e44\u0e02\u0e44\u0e1f\u0e25\u0e4c <code>helloworld.c<\/code> \u0e43\u0e19 VS Code<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. \u0e40\u0e1b\u0e34\u0e14 <code>helloworld.c<\/code> \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e44\u0e1f\u0e25\u0e4c\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e2d\u0e22\u0e39\u0e48<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. \u0e01\u0e14\u0e1b\u0e38\u0e48\u0e21 play \u0e17\u0e35\u0e48\u0e21\u0e38\u0e21\u0e02\u0e27\u0e32\u0e1a\u0e19\u0e02\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e41\u0e01\u0e49\u0e44\u0e02<\/p>\n\n\n\n<div class=\"wp-block-group is-content-justification-center is-nowrap is-layout-flex wp-container-core-group-is-layout-87b1a296 wp-block-group-is-layout-flex\" style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\">\n<figure class=\"wp-block-image size-full\" style=\"margin-right:var(--wp--preset--spacing--30);margin-left:var(--wp--preset--spacing--30)\"><img loading=\"lazy\" decoding=\"async\" width=\"848\" height=\"381\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2024\/12\/image-10.png\" alt=\"\" class=\"wp-image-3313\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-10.png 848w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-10-300x135.png 300w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-10-768x345.png 768w\" sizes=\"(max-width: 848px) 100vw, 848px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"222\" height=\"109\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2024\/12\/image-11.png\" alt=\"\" class=\"wp-image-3314\" style=\"width:126px;height:auto\"\/><\/figure>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">3. \u0e40\u0e25\u0e37\u0e2d\u0e01&nbsp;<strong>C\/C++: g++.exe build and debug active file<\/strong>&nbsp;\u0e08\u0e32\u0e01\u0e23\u0e32\u0e22\u0e01\u0e32\u0e23 list of detected compilers on your system.<\/p>\n\n\n\n<div class=\"wp-block-group is-content-justification-center is-nowrap is-layout-flex wp-container-core-group-is-layout-baa833e1 wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"141\" src=\"https:\/\/itsci.mju.ac.th\/~watcharin\/wp-content\/uploads\/2024\/12\/image-12.png\" alt=\"\" class=\"wp-image-3316\" srcset=\"https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-12.png 611w, https:\/\/itscidev.mju.ac.th\/w\/wp-content\/uploads\/2024\/12\/image-12-300x69.png 300w\" sizes=\"(max-width: 611px) 100vw, 611px\" \/><\/figure>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e40\u0e23\u0e32\u0e08\u0e30\u0e16\u0e39\u0e01\u0e02\u0e2d\u0e43\u0e2b\u0e49\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e40\u0e25\u0e2d\u0e23\u0e4c\u0e40\u0e09\u0e1e\u0e32\u0e30\u0e43\u0e19\u0e04\u0e23\u0e31\u0e49\u0e07\u0e41\u0e23\u0e01\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49 <code>helloworld.c<\/code> \u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19 \u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e40\u0e25\u0e2d\u0e23\u0e4c\u0e19\u0e35\u0e49\u0e08\u0e30\u0e16\u0e39\u0e01\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e40\u0e25\u0e2d\u0e23\u0e4c &#8220;default&#8221; \u0e43\u0e19\u0e44\u0e1f\u0e25\u0e4c task.json<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01 build succeeds \u0e41\u0e25\u0e49\u0e27\u0e40\u0e2d\u0e32\u0e15\u0e4c\u0e1e\u0e38\u0e15\u0e02\u0e2d\u0e07\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13\u0e08\u0e30\u0e1b\u0e23\u0e32\u0e01\u0e0f\u0e43\u0e19 Terminal<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21\u0e43\u0e19\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e14\u0e39\u0e44\u0e14\u0e49\u0e43\u0e19 <a href=\"https:\/\/code.visualstudio.com\/docs\/cpp\/config-mingw\">Using GCC with MinGW<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Compiler C\/C++ \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a Window \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Visual Studio Code \u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e14\u0e35\u0e1a\u0e31\u0e01\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e20\u0e32\u0e29\u0e32 C\/C++ \u0e42\u0e14\u0e22\u0e02\u0e36\u0e49\u0e19\u0e2d\u0e22\u0e39\u0e48\u0e01\u0e31\u0e1a\u0e23\u0e30\u0e1a\u0e1a\u0e1b\u0e0f\u0e34\u0e1a\u0e31\u0e15\u0e34\u0e01\u0e32\u0e23\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e01\u0e33\u0e25\u0e31\u0e07\u0e43\u0e0a\u0e49: \u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 MinGW \u0e43\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e40\u0e23\u0e32\u0e08\u0e30\u0e43\u0e0a\u0e49 MinGW \u0e43\u0e19\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e25\u0e07\u0e1a\u0e19\u0e23\u0e30\u0e1a\u0e1a\u0e1b\u0e0f\u0e34\u0e1a\u0e31\u0e15\u0e34\u0e01\u0e32\u0e23 Window \u0e0b\u0e36\u0e48\u0e07\u0e40\u0e23\u0e32\u0e08\u0e30\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e43\u0e2b\u0e49 VSCode \u0e43\u0e2b\u0e49\u0e43\u0e0a\u0e49 GCC C++ compiler (g++) \u0e41\u0e25\u0e30 GDB debugger \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e41\u0e25\u0e30\u0e23\u0e31\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e19\u0e31\u0e49\u0e19\u0e1a\u0e19 Window \u0e44\u0e14\u0e49 \u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e14\u0e39\u0e02\u0e49\u0e2d\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01 mingw-w64 \u0e42\u0e14\u0e22\u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e41\u0e25\u0e49\u0e27\u0e40\u0e23\u0e32\u0e08\u0e30\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e04\u0e2d\u0e21\u0e44\u0e1e\u0e25\u0e4c \u0e23\u0e31\u0e19 \u0e2b\u0e23\u0e37\u0e2d \u0e14\u0e35\u0e1a\u0e31\u0e01 \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e20\u0e32\u0e29\u0e32\u0e0b\u0e35\u0e44\u0e14\u0e49 \u0e02\u0e49\u0e2d\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e40\u0e1a\u0e37\u0e49\u0e2d\u0e07\u0e15\u0e49\u0e19 \u0e42\u0e14\u0e22\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e2a\u0e48\u0e27\u0e19\u0e40\u0e2a\u0e23\u0e34\u0e21\u0e14\u0e31\u0e07\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e19\u0e35\u0e49 \u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e0a\u0e38\u0e14\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e21\u0e37\u0e2d MinGW-w64 Get the latest version of MinGW-w64 via MSYS2, which provides up-to-date [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":3320,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[],"education":[60,59],"class_list":["post-3274","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-problem-solution","education-60","education-itsci"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":7}},"_links":{"self":[{"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/posts\/3274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3274"}],"version-history":[{"count":31,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/posts\/3274\/revisions"}],"predecessor-version":[{"id":3358,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/posts\/3274\/revisions\/3358"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=\/wp\/v2\/media\/3320"}],"wp:attachment":[{"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3274"},{"taxonomy":"education","embeddable":true,"href":"https:\/\/itscidev.mju.ac.th\/w\/index.php?rest_route=%2Fwp%2Fv2%2Feducation&post=3274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}