docs(10_Wiki): Dev 폴더 누락분 반영 — Topic_Programming으로 통합
이전 재구성 작업에서 Dev/ 폴더가 누락되었던 것을 반영. - Dev/Topic_Programming(중첩 폴더, 78개)은 Dev 자체 최상위 폴더들 (Architecture/Conventions/Engineering_Intelligence 등)과 완전 중복이라 제거. - Dev 최상위 엔지니어링 지식 폴더(Architecture/Conventions/Engineering_Intelligence/ Failure_Library/Generalized_Principles/Language/Pattern_Catalog/Platform_Guides/ Subsystems, 77개)는 이미 Topic_Programming/Topic_Programming에 더 최신 버전이 존재해 중복 제거(고유 콘텐츠 1개는 예외 처리하여 이동 보존). - Dev의 W3Schools 언어 튜토리얼 폴더(Topic_C/CPP/CSS/CSharp/HOWTO/HTML/Java/ JavaScript/PHP/Python/SQL/W3CSS, 1201개)는 전부 Topic_Programming 하위로 이동. - 에이전트 운영 상태(.astra/docs)는 그대로 유지, 콘텐츠 폴더만 정리. - Topic_Programming 최종 문서 수: 2784 → 3985.
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
---
|
||||
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 <stdio.h> 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 <stdio.h>
|
||||
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).
|
||||
Reference in New Issue
Block a user