1cfd3bbb56
Topic_CSS/Topic_HTML/Topic_JavaScript/Topic_Prompt/Topic_Comfyui 등 기존 카테고리 폴더를 정리하고, Topic_Graphic/Dev 등 신규 산출물과 Topics 내부 세션/메모리 기록을 동기화.
70 lines
3.5 KiB
Markdown
70 lines
3.5 KiB
Markdown
---
|
|
id: c-intro
|
|
title: "C Introduction"
|
|
category: "Programming_Language"
|
|
status: "draft"
|
|
verification_status: "conceptual"
|
|
canonical_id: ""
|
|
aliases: ["what is c", "C vs C++", "C 소개"]
|
|
duplicate_of: ""
|
|
source_trust_level: "B"
|
|
confidence_score: 0.87
|
|
created_at: 2026-07-04
|
|
updated_at: 2026-07-04
|
|
review_reason: ""
|
|
merge_history: []
|
|
tags: ["c", "programming-language", "w3schools", "intro"]
|
|
raw_sources: ["https://www.w3schools.com/c/c_intro.php"]
|
|
applied_in: []
|
|
github_commit: ""
|
|
---
|
|
|
|
# [[C Intro]]
|
|
|
|
## 🎯 한 줄 통찰 (One-line insight)
|
|
The source frames C's core value proposition as a LEARNING INVESTMENT, not just a language choice — "if you know C, you will have no problem learning other popular programming languages such as Java, Python, C++, C#" — positioning C's tight syntax and manual memory model as the shared ancestor whose concepts transfer forward into most mainstream languages. [S1]
|
|
|
|
## 🧠 핵심 개념 (Core concepts)
|
|
- **Origin** — created by Dennis Ritchie at Bell Labs in 1972; closely tied to UNIX since much of UNIX itself was written in C. [S1]
|
|
- **Primary domains** — operating systems, embedded devices, performance-critical software (databases, system tools), game engines/graphics, and core libraries underlying other languages. [S1]
|
|
- **Multiple language standards** — C90, C99, C11, C17, and newer; the tutorial focuses on modern widely-supported C and flags standard-specific differences when relevant. [S1]
|
|
- **C vs C++** — C++ is an extension of C; C is primarily procedural (function-based), while C++ adds classes/objects for object-oriented programming — but C can still organize data via structs and scale to large programs without C++'s added features. [S1]
|
|
|
|
## 📖 세부 내용 (Details)
|
|
- Minimal working example: `#include <stdio.h> int main() { char name[] = "John"; printf("Hello %s", name); return 0; }` producing `Hello John`. [S1]
|
|
|
|
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
|
- **C도 대규모 프로그램이 가능하다는 점**: C++이 클래스라는 추가 기능을 얹은 것뿐이며, C만으로도 구조체를 이용해 데이터를 조직하고 큰 프로그램을 만들 수 있다는 점이 명시적으로 강조됨(C가 단순히 "작은 프로그램용"이라는 오해를 교정). [S1]
|
|
|
|
## 🛠️ 적용 사례 (Applied in summary)
|
|
현재 발견된 실제 적용 사례가 없습니다 — Windows/Linux/macOS의 일부, 자동차·TV 등 임베디드 기기, 게임 엔진 등이 원문에서 언급된 C의 대표적 실전 활용 분야다. [S1]
|
|
|
|
## 💻 코드 패턴 (Code patterns)
|
|
Minimal C program printing a formatted greeting:
|
|
```c
|
|
#include <stdio.h>
|
|
int main() {
|
|
char name[] = "John";
|
|
printf("Hello %s", name);
|
|
return 0;
|
|
}
|
|
```
|
|
|
|
## ✅ 검증 상태 및 신뢰도
|
|
- **상태:** draft
|
|
- **검증 단계:** conceptual
|
|
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
|
|
- **신뢰 점수:** 0.87
|
|
- **중복 검사 결과:** 신규 생성 (New discovery)
|
|
|
|
## 🔗 지식 그래프 (Knowledge Graph)
|
|
- **상위/루트:** [[C Tutorial]]
|
|
- **관련 개념:** [[C Get Started]], [[C Syntax]]
|
|
- **참조 맥락:** C 튜토리얼 첫 챕터 — 개발 환경 설정(Get Started) 챕터로 이어짐.
|
|
|
|
## 📚 출처 (Sources)
|
|
- [S1] W3Schools — C Introduction — https://www.w3schools.com/c/c_intro.php
|
|
|
|
## 📝 변경 이력 (Change history)
|
|
- 2026-07-04: Initial draft synthesized from the W3Schools "C Introduction" page (Astra wiki-curation, P-Reinforce v3.1 format).
|