--- id: c-get-started title: "C Get Started" category: "Programming_Language" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["installing C", "Code::Blocks", "gcc setup", "C μ‹œμž‘ν•˜κΈ°"] duplicate_of: "" source_trust_level: "B" confidence_score: 0.85 created_at: 2026-07-04 updated_at: 2026-07-04 review_reason: "" merge_history: [] tags: ["c", "programming-language", "w3schools", "setup", "ide"] raw_sources: ["https://www.w3schools.com/c/c_getstarted.php"] applied_in: [] github_commit: "" --- # [[C Get Started]] ## 🎯 ν•œ 쀄 톡찰 (One-line insight) Unlike interpreted languages covered elsewhere in this wiki (Python, PHP, JavaScript), C requires a genuinely separate COMPILATION step before execution β€” the source explicitly frames the whole beginner workflow as "you wrote C code, the compiler turned it into a program, and the computer ran it," meaning even the simplest C setup inherently involves an editor AND a compiler as two distinct required tools, not one interpreter. [S1] ## 🧠 핡심 κ°œλ… (Core concepts) - **Two required tools** β€” a text editor to write code, and a COMPILER to translate C source into machine code the computer can run directly. [S1] - **IDE as a bundle** β€” an IDE (e.g. Code::Blocks, Eclipse, Visual Studio) packages both editor and compiler together, and typically adds error-finding help. [S1] - **`.c` file extension** β€” C source files must always end in `.c`. [S1] - **Web-based editors** β€” W3Schools' own online editor works without installation but the source notes such tools "often have limited features" compared to a full IDE. [S1] - **Multi-step build workflow** β€” write code β†’ Build and Run β†’ compiler translates β†’ OS executes the resulting program, distinct from an interpreted run-immediately model. [S1] ## πŸ“– μ„ΈλΆ€ λ‚΄μš© (Details) - Minimal Hello World used for setup verification: `#include int main() { printf("Hello World!"); return 0; }`. [S1] - Recommended beginner IDE: Code::Blocks, downloaded via the `mingw-setup.exe` installer which bundles both editor and compiler (MinGW). [S1] - Expected successful output after Build & Run: `Hello World! Process returned 0 (0x0) execution time : 0.011 s Press any key to continue.`. [S1] ## βš–οΈ λͺ¨μˆœ 및 μ—…λ°μ΄νŠΈ (Contradictions & updates) - **μ›Ή 기반 μ—λ””ν„°μ˜ ν•œκ³„**: μ„€μΉ˜ 없이 μ‹œμž‘ν•  수 μžˆλŠ” 온라인 μ—λ””ν„°λŠ” νŽΈλ¦¬ν•˜μ§€λ§Œ κΈ°λŠ₯이 μ œν•œμ μ΄λΌλŠ” 점이 λͺ…μ‹œμ μœΌλ‘œ 언급됨 β€” μ‹€μ œ ν”„λ‘œμ νŠΈμ—λŠ” 둜컬 IDE μ„€μΉ˜λ₯Ό ꢌμž₯. [S1] ## πŸ› οΈ 적용 사둀 (Applied in summary) ν˜„μž¬ 발견된 μ‹€μ œ 적용 사둀가 μ—†μŠ΅λ‹ˆλ‹€ β€” Code::Blocks + MinGW μ‘°ν•©μœΌλ‘œ νŽΈμ§‘κΈ°μ™€ 컴파일러λ₯Ό ν•œ λ²ˆμ— μ„€μΉ˜ν•˜λŠ” 것이 μ‹€μ „ 초보자 ν™˜κ²½ κ΅¬μΆ•μ˜ λŒ€ν‘œ 방법이닀. [S1] ## πŸ’» μ½”λ“œ νŒ¨ν„΄ (Code patterns) The verification program used to confirm a working compiler setup (C): ```c #include int main() { printf("Hello World!"); return 0; } ``` ## βœ… 검증 μƒνƒœ 및 신뒰도 - **μƒνƒœ:** draft - **검증 단계:** conceptual - **좜처 신뒰도:** B (W3Schools β€” widely used educational reference, not a primary standards body) - **μ‹ λ’° 점수:** 0.85 - **쀑볡 검사 κ²°κ³Ό:** μ‹ κ·œ 생성 (New discovery) ## πŸ”— 지식 κ·Έλž˜ν”„ (Knowledge Graph) - **μƒμœ„/루트:** [[C Tutorial]] - **κ΄€λ ¨ κ°œλ…:** [[C Intro]], [[C Syntax]] - **μ°Έμ‘° λ§₯락:** 개발 ν™˜κ²½ μ„€μ • β€” 문법(Syntax) μ±•ν„°λ‘œ 이어짐. ## πŸ“š 좜처 (Sources) - [S1] W3Schools β€” C Get Started β€” https://www.w3schools.com/c/c_getstarted.php ## πŸ“ λ³€κ²½ 이λ ₯ (Change history) - 2026-07-04: Initial draft synthesized from the W3Schools "C Get Started" page (Astra wiki-curation, P-Reinforce v3.1 format).