--- id: cpp-get-started title: "C++ Getting Started" category: "Programming_Language" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["installing cpp", "Code::Blocks 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: ["cpp", "programming-language", "w3schools", "setup", "ide"] raw_sources: ["https://www.w3schools.com/cpp/cpp_getstarted.asp"] applied_in: [] github_commit: "" --- # [[CPP Get Started]] ## 🎯 ν•œ 쀄 톡찰 (One-line insight) The exact same two-tool requirement from C (a text editor plus a separate compiler like GCC) carries over unchanged to C++ β€” reinforcing that C++'s compiled nature, not just its syntax, is inherited directly from C, and the recommended beginner workflow (Code::Blocks + MinGW, `.cpp` files, Build & Run) is nearly identical to the C tutorial's setup chapter with only the file extension and header differing. [S1] ## 🧠 핡심 κ°œλ… (Core concepts) - **Two required tools** β€” a text editor and a compiler (e.g. GCC) to translate C++ code into machine-understandable form. [S1] - **IDE bundling both** β€” Code::Blocks, Eclipse, Visual Studio package editor + compiler + debugging together. [S1] - **`.cpp` file extension** β€” C++ source files are saved with `.cpp`, distinct from C's `.c`. [S1] - **Web-based editors work but are limited** β€” same caveat as the C tutorial's setup chapter. [S1] ## πŸ“– μ„ΈλΆ€ λ‚΄μš© (Details) - The verification program used to confirm a working setup: `#include using namespace std; int main() { cout << "Hello World!"; return 0; }` saved as `myfirstprogram.cpp`. [S1] - Recommended IDE and installer: Code::Blocks via the `mingw-setup.exe` installer (bundles editor + compiler). [S1] ## βš–οΈ λͺ¨μˆœ 및 μ—…λ°μ΄νŠΈ (Contradictions & updates) - ν˜„μž¬κΉŒμ§€ 발견된 λͺ¨μˆœ 사항 μ—†μŒ (No contradictions found in available sources). ## πŸ› οΈ 적용 사둀 (Applied in summary) ν˜„μž¬ 발견된 μ‹€μ œ 적용 사둀가 μ—†μŠ΅λ‹ˆλ‹€ β€” Code::Blocks + MinGW 쑰합이 C νŠœν† λ¦¬μ–Όκ³Ό λ™μΌν•˜κ²Œ C++ 초보자 ν™˜κ²½ κ΅¬μΆ•μ˜ ν‘œμ€€ λ°©λ²•μœΌλ‘œ μ œμ‹œλ¨. [S1] ## πŸ’» μ½”λ“œ νŒ¨ν„΄ (Code patterns) The verification program used to confirm a working C++ compiler setup: ```cpp #include using namespace std; int main() { cout << "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]] - **κ΄€λ ¨ κ°œλ…:** [[CPP Intro]], [[CPP Syntax]], [[C Get Started]] - **μ°Έμ‘° λ§₯락:** 개발 ν™˜κ²½ μ„€μ • β€” 문법(Syntax) μ±•ν„°λ‘œ 이어짐. ## πŸ“š 좜처 (Sources) - [S1] W3Schools β€” C++ Getting Started β€” https://www.w3schools.com/cpp/cpp_getstarted.asp ## πŸ“ λ³€κ²½ 이λ ₯ (Change history) - 2026-07-04: Initial draft synthesized from the W3Schools "C++ Getting Started" page (Astra wiki-curation, P-Reinforce v3.1 format).