โน๏ธ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 2.7 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://labex.io/ko/tutorials/c-how-to-compile-with-modern-c-standards-466271 |
| Last Crawled | 2026-01-21 17:23:57 (2 months ago) |
| First Indexed | not set |
| HTTP Status Code | 200 |
| Meta Title | ํ๋ C ํ์ค์ผ๋ก ์ปดํ์ผํ๋ ๋ฐฉ๋ฒ | LabEx |
| Meta Description | ๊ณ ๊ธ C ์ปดํ์ผ ๊ธฐ๋ฒ์ ๋ฐฐ์ฐ๊ณ , ์ต์ ํ์ค์ ํ์ํ๋ฉฐ, ํฌ๊ด์ ์ธ ์ปดํ์ผ๋ฌ ๊ตฌ์ฑ ์ ๋ต์ผ๋ก C ํ๋ก๊ทธ๋๋ฐ ์ํฌํ๋ก์ฐ๋ฅผ ์ต์ ํํ์ธ์. |
| Meta Canonical | null |
| Boilerpipe Text | C ํ์ค์ ๋ฐ์
C ํ์ค ์๊ฐ
C ํ๋ก๊ทธ๋๋ฐ ์ธ์ด๋ ์ถํ ์ดํ ์๋นํ ๋ฐ์ ์ ๊ฑฐ๋ญํ์ต๋๋ค. ํนํ LabEx ํ๋ก๊ทธ๋๋ฐ ํ๊ฒฝ์์ ์์
ํ ๋, C ํ์ค์ ์งํ ๊ณผ์ ์ ์ดํดํ๋ ๊ฒ์ ํ๋ C ๊ฐ๋ฐ์์๊ฒ ๋งค์ฐ ์ค์ํฉ๋๋ค.
์ฃผ์ C ํ์ค ์ด์ ํ
timeline
title C ์ธ์ด ํ์ค์ ๋ฐ์
1978 : K&R C (์ฒซ ๋ฒ์งธ ํ)
1989 : ANSI C (C89/C90)
1999 : C99 ํ์ค
2011 : C11 ํ์ค
2018 : C17 ํ์ค
2024 : C2x (์์ )
์ฃผ์ ํ์ค ํน์ง
ํ์ค
์ฃผ์ ํน์ง
์ฃผ๋ชฉํ ๋งํ ๊ฐ์ ์ฌํญ
C89/C90
์ฒซ ๋ฒ์งธ ํ์คํ ๋ฒ์
ํจ์ ์ํ, ๊ธฐ๋ณธ ์๋ฃํ ์ผ๊ด์ฑ
C99
์ธ๋ผ์ธ ํจ์ ๋์
๊ฐ๋ณ ๊ธธ์ด ๋ฐฐ์ด, ์๋ก์ด ์ ์ํ ์๋ฃํ
C11
ํฅ์๋ ์๋ฃํ ์์ ์ฑ
๋ฉํฐ์ค๋ ๋ฉ ์ง์, ์ต๋ช
๊ตฌ์กฐ์ฒด
C17
C11 ์ ๊ฐ์
๋ฒ๊ทธ ์์ , ๊ฐ์ ๋ ํ์ค ์ค์
ํ์ค์ ํ๋ ํ๋ก๊ทธ๋๋ฐ์ ๋ฏธ์น๋ ์ํฅ
์ธ์ด ์ผ๊ด์ฑ
๊ฐ ํ์ค์ ์๋ก ๋ค๋ฅธ ์ปดํ์ผ๋ฌ์ ํ๋ซํผ ๊ฐ์ ์ผ๊ด์ฑ๊ณผ ์ด์์ฑ์ ๊ฐ์ ํฉ๋๋ค. ๊ฐ๋ฐ์๋ ์ต์ ํ์ค์ ์ค์ํ์ฌ ๋์ฑ ์์ ์ ์ด๊ณ ์ด์ ๊ฐ๋ฅํ ์ฝ๋๋ฅผ ์์ฑํ ์ ์์ต๋๋ค.
์ฑ๋ฅ ๋ฐ ๊ธฐ๋ฅ
์๋ก์ด ํ์ค์ ๋ค์์ ๋์
ํฉ๋๋ค.
๋ ํจ์จ์ ์ธ ๋ฉ๋ชจ๋ฆฌ ๊ด๋ฆฌ
ํฅ์๋ ์๋ฃํ ๊ฒ์ฌ
๊ณ ๊ธ ์ธ์ด ๊ธฐ๋ฅ
ํ๋ ํ๋์จ์ด ์ํคํ
์ฒ์ ๋ํ ๋ ๋์ ์ง์
์ค์ ์์
์ต์ ํ์ค๊ณผ ํธํ๋๋ ๊ฐ๋จํ C ํ๋ก๊ทธ๋จ์ ์์์
๋๋ค.
#include <stdio.h>
#include <stdbool.h> // C99 ๋ถ์ธ ์๋ฃํ
int main(void) {
bool is_modern = true;
printf("ํ๋ C ํ๋ก๊ทธ๋๋ฐ: %s\n", is_modern ? "ํ๋ฅญํจ" : "์ ํต์ ");
return 0;
}
์ปดํ์ผ ๊ณ ๋ ค ์ฌํญ
์ต์ C ํ์ค์ ์ฌ์ฉํ ๋๋ ์ปดํ์ผ๋ฌ ํ๋๊ทธ๋ฅผ ์ฌ์ฉํ์ฌ ํ์ค์ ์ง์ ํฉ๋๋ค.
-std=c99
-std=c11
-std=c17
Ubuntu ์์์ ์์:
gcc -std=c17 -Wall -Wextra program.c -o program
๊ฒฐ๋ก
C ํ์ค์ ๋ฐ์ ๊ณผ์ ์ ์ดํดํ๋ฉด ๊ฐ๋ฐ์๋ LabEx ์ ๊ฐ์ ๋ค์ํ ํ๋ซํผ ๋ฐ ํ๊ฒฝ์์ ๋์ฑ ๊ฐ๋ ฅํ๊ณ ์ด์ ๊ฐ๋ฅํ๋ฉฐ ํจ์จ์ ์ธ ์ฝ๋๋ฅผ ์์ฑํ ์ ์์ต๋๋ค.
์ปดํ์ผ๋ฌ ๊ตฌ์ฑ
์ปดํ์ผ๋ฌ ๊ธฐ๋ณธ ์ดํด
์ปดํ์ผ๋ฌ ๊ตฌ์ฑ์ ์์ค ์ฝ๋๋ฅผ ์คํ ๊ฐ๋ฅํ ํ๋ก๊ทธ๋จ์ผ๋ก ๋ณํํ๋ ๋ฐฉ์์ ๊ฒฐ์ ํ๋ C ํ๋ก๊ทธ๋๋ฐ์ ์ค์ํ ์ธก๋ฉด์
๋๋ค. LabEx ํ๋ซํผ๊ณผ Ubuntu ์์คํ
์์ ์ด ํ๋ก์ธ์ค๋ ์ฌ๋ฌ ์ฃผ์ ๊ตฌ์ฑ ์์๋ฅผ ํฌํจํฉ๋๋ค.
์ผ๋ฐ์ ์ธ C ์ปดํ์ผ๋ฌ
graph TD
A[C ์ปดํ์ผ๋ฌ] --> B[GCC]
A --> C[Clang]
A --> D[Intel C ์ปดํ์ผ๋ฌ]
B --> E[GNU ์ปดํ์ผ๋ฌ ์ปฌ๋ ์
]
C --> F[LLVM ๊ธฐ๋ฐ ์ปดํ์ผ๋ฌ]
์ปดํ์ผ๋ฌ ๊ตฌ์ฑ ๋งค๊ฐ๋ณ์
๋งค๊ฐ๋ณ์
์ค๋ช
์์
-std
C ์ธ์ด ํ์ค ์ง์
-std=c17
-O
์ต์ ํ ์์ค
-O2
,
-O3
-Wall
๋ชจ๋ ๊ฒฝ๊ณ ํ์ฑํ
-Wall -Wextra
-g
๋๋ฒ๊น
์ ๋ณด ์์ฑ
-g
Ubuntu ์์ GCC ์ค์น
sudo apt update
sudo apt install build-essential
gcc --version
์ปดํ์ผ๋ฌ ํ๋๊ทธ ๋ฐ ์ต์
ํ์ค ์ ํ
## ํน์ C ํ์ค์ผ๋ก ์ปดํ์ผ
gcc -std=c11 program.c -o program
gcc -std=c17 program.c -o program
์ต์ ํ ์์ค
## ์๋ก ๋ค๋ฅธ ์ต์ ํ ์์ค
gcc -O0 program.c ## ์ต์ ํ ์์
gcc -O2 program.c ## ๊ถ์ฅ ์ต์ ํ
gcc -O3 program.c ## ๊ณต๊ฒฉ์ ์ธ ์ต์ ํ
๊ณ ๊ธ ๊ตฌ์ฑ
๊ฒฝ๊ณ ๊ด๋ฆฌ
// example.c
#include <stdio.h>
int main() {
int x; // ์ด๊ธฐํ๋์ง ์์ ๋ณ์ ๊ฒฝ๊ณ
printf("%d", x);
return 0;
}
๊ฒฝ๊ณ ์ ํจ๊ป ์ปดํ์ผ:
gcc -Wall -Wextra -Werror example.c
์ ์ฒ๋ฆฌ๊ธฐ ์ง์๋ฌธ
#define DEBUG_MODE 1
#ifdef DEBUG_MODE
printf("๋๋ฒ๊ทธ ์ ๋ณด\n");
#endif
ํฌ๋ก์ค ํ๋ซํผ ์ปดํ์ผ
## 64๋นํธ ์์คํ
์์ 32๋นํธ ์ปดํ์ผ
gcc -m32 program.c -o program
๊ถ์ฅ ์ฌํญ
ํญ์
-Wall -Wextra
์ฌ์ฉ
์ ์ ํ ์ต์ ํ ์์ค ์ ํ
์ฌ๋ฐ๋ฅธ C ํ์ค ์ ํ
๊ฐ๋ฐ์ ์ํด ๋๋ฒ๊ทธ ์ฌ๋ณผ ํ์ฑํ
LabEx ๊ถ์ฅ ์ฌํญ
LabEx ํ๊ฒฝ์์ ์์
ํ ๋๋ ์ฝ๋ ํ์ง๊ณผ ์ฑ๋ฅ์ ๋ณด์ฅํ๊ธฐ ์ํด ํญ์ ์ต์ ์ปดํ์ผ๋ฌ ๊ตฌ์ฑ์ ์ฌ์ฉํ์ญ์์ค.
๊ฒฐ๋ก
ํจ๊ณผ์ ์ธ ์ปดํ์ผ๋ฌ ๊ตฌ์ฑ์ ๋ค์ํ ํ๋ซํผ๊ณผ ๊ฐ๋ฐ ํ๊ฒฝ์์ ํจ์จ์ ์ด๊ณ ์ด์ ๊ฐ๋ฅํ๋ฉฐ ๊ฐ๋ ฅํ C ํ๋ก๊ทธ๋จ์ ์์ฑํ๋ ๋ฐ ํ์์ ์
๋๋ค.
ํ๋์ ์ธ ์ปดํ์ผ
์ปดํ์ผ ์ํฌํ๋ก์ฐ
graph TD
A[์์ค ์ฝ๋] --> B[์ ์ฒ๋ฆฌ๊ธฐ]
B --> C[์ปดํ์ผ๋ฌ]
C --> D[์ด์
๋ธ๋ฌ]
D --> E[๋ง์ปค]
E --> F[์คํ ํ์ผ]
์ ์ฒ๋ฆฌ ๋จ๊ณ
๋งคํฌ๋ก ํ์ฅ
#define MAX_SIZE 100
#define SQUARE(x) ((x) * (x))
int main() {
int array[MAX_SIZE];
int result = SQUARE(5);
return 0;
}
์ ์ฒ๋ฆฌ ๋ช
๋ น์ด:
gcc -E program.c > preprocessed.c
์ปดํ์ผ ๋จ๊ณ
๋จ๊ณ
์ค๋ช
๋๊ตฌ
์ ์ฒ๋ฆฌ
๋งคํฌ๋ก ํ์ฅ, ํ์ผ ํฌํจ
cpp
์ปดํ์ผ
์ด์
๋ธ๋ฆฌ ์ฝ๋๋ก ๋ณํ
gcc
์ด์
๋ธ๋ฆฌ
๊ฐ์ฒด ์ฝ๋๋ก ๋ณํ
as
๋งํน
์คํ ํ์ผ ์์ฑ
ld
๊ณ ๊ธ ์ปดํ์ผ ๊ธฐ๋ฒ
๋ถ๋ฆฌ ์ปดํ์ผ
#ifndef HEADER_H
#define HEADER_H
int calculate(int a, int b);
#endif
math.c
#include "header.h"
int calculate(int a, int b) {
return a + b;
}
main.c
#include <stdio.h>
#include "header.h"
int main() {
int result = calculate(5, 3);
printf("Result: %d\n", result);
return 0;
}
์ปดํ์ผ ๊ณผ์ :
gcc -c math.c ## ๊ฐ์ฒด ํ์ผ ์์ฑ
gcc -c main.c ## ๊ฐ์ฒด ํ์ผ ์์ฑ
gcc math.o main.o -o program ## ๊ฐ์ฒด ํ์ผ ๋งํน
ํ๋์ ์ธ ์ปดํ์ผ ํ๋๊ทธ
์ต์ ํ ๋ฐ ๋๋ฒ๊น
## ์ต์ ํ ๋ฐ ๋๋ฒ๊ทธ ์ฌ๋ณผ๊ณผ ํจ๊ป ์ปดํ์ผ
gcc -O2 -g program.c -o program
## ๋ชจ๋ ๊ฒฝ๊ณ ํ์ฑํ
gcc -Wall -Wextra -Werror program.c -o program
์ ์ ๋ฐ ๋์ ๋งํน
graph TD
A[์ ์ ๋งํน] --> B[์ ์ฒด ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ณต์ฌ]
A --> C[๋ ํฐ ์คํ ํ์ผ]
D[๋์ ๋งํน] --> E[๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ฐธ์กฐ]
D --> F[๋ ์์ ์คํ ํ์ผ]
์ ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์ฑ
## ์ ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์ฑ
gcc -c library.c
ar rcs libmylib.a library.o
## ์ ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ก ๋งํน
gcc main.c -L. -lmylib -o program
๋์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์ฑ
## ๊ณต์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์ฑ
gcc -shared -fPIC library.c -o libmylib.so
## ๊ณต์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ก ๋งํน
gcc main.c -L. -lmylib -o program
ํฌ๋ก์ค ์ปดํ์ผ
## ARM์ฉ ํฌ๋ก์ค ์ปดํ์ผ
arm-linux-gnueabihf-gcc program.c -o program_arm
LabEx ์ต์ ์ฌ๋ก
ํ๋์ ์ธ ์ปดํ์ผ๋ฌ ํ์ค ์ฌ์ฉ
ํฌ๊ด์ ์ธ ๊ฒฝ๊ณ ํ์ฑํ
์ต์ ํ ํ๋๊ทธ ํ์ฉ
๋ถ๋ฆฌ ์ปดํ์ผ ๊ตฌํ
๋งํน ๋ฉ์ปค๋์ฆ ์ดํด
๊ฒฐ๋ก
ํ๋์ ์ธ ์ปดํ์ผ ๊ธฐ๋ฒ์ ๊ฐ๋ฐ์๊ฐ ๋ค์ํ ํ๋ซํผ ๋ฐ ํ๊ฒฝ์์ ํจ์จ์ ์ด๊ณ ์ด์ ๊ฐ๋ฅํ๋ฉฐ ๊ฐ๋ ฅํ C ํ๋ก๊ทธ๋จ์ ์์ฑํ ์ ์๋๋ก ๊ฐ๋ ฅํ ๋๊ตฌ๋ฅผ ์ ๊ณตํฉ๋๋ค. |
| Markdown | [](https://labex.io/ko)
- [ํ์ตํ๊ธฐ](https://labex.io/ko/learn "Learn")
- [ํ๋ก์ ํธ](https://labex.io/ko/projects "Projects")
- [๊ฐ๊ฒฉ](https://labex.io/ko/pricing "Pricing")
[๋ก๊ทธ์ธ๋ก๊ทธ์ธ](https://labex.io/ko/login)[๋ฌด๋ฃ ๊ฐ์
๋ฌด๋ฃ ๊ฐ์
](https://labex.io/ko/register)
1. [ํ์ตํ๊ธฐ](https://labex.io/ko/learn)
2. [ํํ ๋ฆฌ์ผ](https://labex.io/ko/tutorials)
3. [C](https://labex.io/ko/tutorials/category/c)
# ํ๋ C ํ์ค์ผ๋ก ์ปดํ์ผํ๋ ๋ฐฉ๋ฒ
[C](https://labex.io/learn/c)
Beginner

ํ๋ C ํ์ค์ผ๋ก ์ปดํ์ผํ๋ ๋ฐฉ๋ฒ
[์ง๊ธ ์ฐ์ตํ๊ธฐ](https://labex.io/ko/labs/c-use-of-gets-function-in-c-programming-123354)
๋ชฉ์ฐจ
- [์๊ฐ](https://labex.io/ko/tutorials/c-how-to-compile-with-modern-c-standards-466271#%EC%86%8C%EA%B0%9C)
- [C ํ์ค์ ๋ฐ์ ](https://labex.io/ko/tutorials/c-how-to-compile-with-modern-c-standards-466271#c-%ED%91%9C%EC%A4%80%EC%9D%98-%EB%B0%9C%EC%A0%84)
- [์ปดํ์ผ๋ฌ ๊ตฌ์ฑ](https://labex.io/ko/tutorials/c-how-to-compile-with-modern-c-standards-466271#%EC%BB%B4%ED%8C%8C%EC%9D%BC%EB%9F%AC-%EA%B5%AC%EC%84%B1)
- [ํ๋์ ์ธ ์ปดํ์ผ](https://labex.io/ko/tutorials/c-how-to-compile-with-modern-c-standards-466271#%ED%98%84%EB%8C%80%EC%A0%81%EC%9D%B8-%EC%BB%B4%ED%8C%8C%EC%9D%BC)
- [์์ฝ](https://labex.io/ko/tutorials/c-how-to-compile-with-modern-c-standards-466271#%EC%9A%94%EC%95%BD)
[](https://labex.io/ko/labs/c-use-of-gets-function-in-c-programming-123354)
[์ง๊ธ ์ฐ์ตํ๊ธฐ](https://labex.io/ko/labs/c-use-of-gets-function-in-c-programming-123354)
## ์๊ฐ
์ด ํฌ๊ด์ ์ธ ํํ ๋ฆฌ์ผ์ C ํ๋ก๊ทธ๋๋ฐ ํ์ค์ ๋ฐ์ ๊ณผ์ ์ ํ๊ตฌํ๊ณ ๊ฐ๋ฐ์๋ค์๊ฒ ํ๋์ ์ธ ์ปดํ์ผ ๊ธฐ์ ์ ๋ํ ํ์์ ์ธ ํต์ฐฐ๋ ฅ์ ์ ๊ณตํฉ๋๋ค. ์ต์ C ํ์ค๊ณผ ์ปดํ์ผ๋ฌ ๊ตฌ์ฑ์ ์ดํดํจ์ผ๋ก์จ ํ๋ก๊ทธ๋๋จธ๋ ์ํํธ์จ์ด ๊ฐ๋ฐ ํ๋ก์ ํธ์์ ์ฝ๋ ํ์ง, ์ฑ๋ฅ ๋ฐ ์ ์ง ๊ด๋ฆฌ์ฑ์ ํฅ์์ํฌ ์ ์์ต๋๋ค.
## C ํ์ค์ ๋ฐ์
### C ํ์ค ์๊ฐ
C ํ๋ก๊ทธ๋๋ฐ ์ธ์ด๋ ์ถํ ์ดํ ์๋นํ ๋ฐ์ ์ ๊ฑฐ๋ญํ์ต๋๋ค. ํนํ LabEx ํ๋ก๊ทธ๋๋ฐ ํ๊ฒฝ์์ ์์
ํ ๋, C ํ์ค์ ์งํ ๊ณผ์ ์ ์ดํดํ๋ ๊ฒ์ ํ๋ C ๊ฐ๋ฐ์์๊ฒ ๋งค์ฐ ์ค์ํฉ๋๋ค.
### ์ฃผ์ C ํ์ค ์ด์ ํ
timeline title C ์ธ์ด ํ์ค์ ๋ฐ์ 1978 : K\&R C (์ฒซ ๋ฒ์งธ ํ) 1989 : ANSI C (C89/C90) 1999 : C99 ํ์ค 2011 : C11 ํ์ค 2018 : C17 ํ์ค 2024 : C2x (์์ )
### ์ฃผ์ ํ์ค ํน์ง
| ํ์ค | ์ฃผ์ ํน์ง | ์ฃผ๋ชฉํ ๋งํ ๊ฐ์ ์ฌํญ |
|---|---|---|
| C89/C90 | ์ฒซ ๋ฒ์งธ ํ์คํ ๋ฒ์ | ํจ์ ์ํ, ๊ธฐ๋ณธ ์๋ฃํ ์ผ๊ด์ฑ |
| C99 | ์ธ๋ผ์ธ ํจ์ ๋์
| ๊ฐ๋ณ ๊ธธ์ด ๋ฐฐ์ด, ์๋ก์ด ์ ์ํ ์๋ฃํ |
| C11 | ํฅ์๋ ์๋ฃํ ์์ ์ฑ | ๋ฉํฐ์ค๋ ๋ฉ ์ง์, ์ต๋ช
๊ตฌ์กฐ์ฒด |
| C17 | C11 ์ ๊ฐ์ | ๋ฒ๊ทธ ์์ , ๊ฐ์ ๋ ํ์ค ์ค์ |
### ํ์ค์ ํ๋ ํ๋ก๊ทธ๋๋ฐ์ ๋ฏธ์น๋ ์ํฅ
#### ์ธ์ด ์ผ๊ด์ฑ
๊ฐ ํ์ค์ ์๋ก ๋ค๋ฅธ ์ปดํ์ผ๋ฌ์ ํ๋ซํผ ๊ฐ์ ์ผ๊ด์ฑ๊ณผ ์ด์์ฑ์ ๊ฐ์ ํฉ๋๋ค. ๊ฐ๋ฐ์๋ ์ต์ ํ์ค์ ์ค์ํ์ฌ ๋์ฑ ์์ ์ ์ด๊ณ ์ด์ ๊ฐ๋ฅํ ์ฝ๋๋ฅผ ์์ฑํ ์ ์์ต๋๋ค.
#### ์ฑ๋ฅ ๋ฐ ๊ธฐ๋ฅ
์๋ก์ด ํ์ค์ ๋ค์์ ๋์
ํฉ๋๋ค.
- ๋ ํจ์จ์ ์ธ ๋ฉ๋ชจ๋ฆฌ ๊ด๋ฆฌ
- ํฅ์๋ ์๋ฃํ ๊ฒ์ฌ
- ๊ณ ๊ธ ์ธ์ด ๊ธฐ๋ฅ
- ํ๋ ํ๋์จ์ด ์ํคํ
์ฒ์ ๋ํ ๋ ๋์ ์ง์
### ์ค์ ์์
์ต์ ํ์ค๊ณผ ํธํ๋๋ ๊ฐ๋จํ C ํ๋ก๊ทธ๋จ์ ์์์
๋๋ค.
```
#include <stdio.h>
#include <stdbool.h> // C99 ๋ถ์ธ ์๋ฃํ
int main(void) {
bool is_modern = true;
printf("ํ๋ C ํ๋ก๊ทธ๋๋ฐ: %s\n", is_modern ? "ํ๋ฅญํจ" : "์ ํต์ ");
return 0;
}
```
### ์ปดํ์ผ ๊ณ ๋ ค ์ฌํญ
์ต์ C ํ์ค์ ์ฌ์ฉํ ๋๋ ์ปดํ์ผ๋ฌ ํ๋๊ทธ๋ฅผ ์ฌ์ฉํ์ฌ ํ์ค์ ์ง์ ํฉ๋๋ค.
- `-std=c99`
- `-std=c11`
- `-std=c17`
Ubuntu ์์์ ์์:
```
gcc -std=c17 -Wall -Wextra program.c -o program
```
### ๊ฒฐ๋ก
C ํ์ค์ ๋ฐ์ ๊ณผ์ ์ ์ดํดํ๋ฉด ๊ฐ๋ฐ์๋ LabEx ์ ๊ฐ์ ๋ค์ํ ํ๋ซํผ ๋ฐ ํ๊ฒฝ์์ ๋์ฑ ๊ฐ๋ ฅํ๊ณ ์ด์ ๊ฐ๋ฅํ๋ฉฐ ํจ์จ์ ์ธ ์ฝ๋๋ฅผ ์์ฑํ ์ ์์ต๋๋ค.
## ์ปดํ์ผ๋ฌ ๊ตฌ์ฑ
### ์ปดํ์ผ๋ฌ ๊ธฐ๋ณธ ์ดํด
์ปดํ์ผ๋ฌ ๊ตฌ์ฑ์ ์์ค ์ฝ๋๋ฅผ ์คํ ๊ฐ๋ฅํ ํ๋ก๊ทธ๋จ์ผ๋ก ๋ณํํ๋ ๋ฐฉ์์ ๊ฒฐ์ ํ๋ C ํ๋ก๊ทธ๋๋ฐ์ ์ค์ํ ์ธก๋ฉด์
๋๋ค. LabEx ํ๋ซํผ๊ณผ Ubuntu ์์คํ
์์ ์ด ํ๋ก์ธ์ค๋ ์ฌ๋ฌ ์ฃผ์ ๊ตฌ์ฑ ์์๋ฅผ ํฌํจํฉ๋๋ค.
### ์ผ๋ฐ์ ์ธ C ์ปดํ์ผ๋ฌ
graph TD A\[C ์ปดํ์ผ๋ฌ\] --\> B\[GCC\] A --\> C\[Clang\] A --\> D\[Intel C ์ปดํ์ผ๋ฌ\] B --\> E\[GNU ์ปดํ์ผ๋ฌ ์ปฌ๋ ์
\] C --\> F\[LLVM ๊ธฐ๋ฐ ์ปดํ์ผ๋ฌ\]
### ์ปดํ์ผ๋ฌ ๊ตฌ์ฑ ๋งค๊ฐ๋ณ์
| ๋งค๊ฐ๋ณ์ | ์ค๋ช
| ์์ |
|---|---|---|
| `-std` | C ์ธ์ด ํ์ค ์ง์ | `-std=c17` |
| `-O` | ์ต์ ํ ์์ค | `-O2`, `-O3` |
| `-Wall` | ๋ชจ๋ ๊ฒฝ๊ณ ํ์ฑํ | `-Wall -Wextra` |
| `-g` | ๋๋ฒ๊น
์ ๋ณด ์์ฑ | `-g` |
### Ubuntu ์์ GCC ์ค์น
```
sudo apt update
sudo apt install build-essential
gcc --version
```
### ์ปดํ์ผ๋ฌ ํ๋๊ทธ ๋ฐ ์ต์
#### ํ์ค ์ ํ
```
## ํน์ C ํ์ค์ผ๋ก ์ปดํ์ผ
gcc -std=c11 program.c -o program
gcc -std=c17 program.c -o program
```
#### ์ต์ ํ ์์ค
```
## ์๋ก ๋ค๋ฅธ ์ต์ ํ ์์ค
gcc -O0 program.c ## ์ต์ ํ ์์
gcc -O2 program.c ## ๊ถ์ฅ ์ต์ ํ
gcc -O3 program.c ## ๊ณต๊ฒฉ์ ์ธ ์ต์ ํ
```
### ๊ณ ๊ธ ๊ตฌ์ฑ
#### ๊ฒฝ๊ณ ๊ด๋ฆฌ
```
// example.c
#include <stdio.h>
int main() {
int x; // ์ด๊ธฐํ๋์ง ์์ ๋ณ์ ๊ฒฝ๊ณ
printf("%d", x);
return 0;
}
```
๊ฒฝ๊ณ ์ ํจ๊ป ์ปดํ์ผ:
```
gcc -Wall -Wextra -Werror example.c
```
### ์ ์ฒ๋ฆฌ๊ธฐ ์ง์๋ฌธ
```
#define DEBUG_MODE 1
#ifdef DEBUG_MODE
printf("๋๋ฒ๊ทธ ์ ๋ณด\n");
#endif
```
### ํฌ๋ก์ค ํ๋ซํผ ์ปดํ์ผ
```
## 64๋นํธ ์์คํ
์์ 32๋นํธ ์ปดํ์ผ
gcc -m32 program.c -o program
```
### ๊ถ์ฅ ์ฌํญ
1. ํญ์ `-Wall -Wextra` ์ฌ์ฉ
2. ์ ์ ํ ์ต์ ํ ์์ค ์ ํ
3. ์ฌ๋ฐ๋ฅธ C ํ์ค ์ ํ
4. ๊ฐ๋ฐ์ ์ํด ๋๋ฒ๊ทธ ์ฌ๋ณผ ํ์ฑํ
### LabEx ๊ถ์ฅ ์ฌํญ
LabEx ํ๊ฒฝ์์ ์์
ํ ๋๋ ์ฝ๋ ํ์ง๊ณผ ์ฑ๋ฅ์ ๋ณด์ฅํ๊ธฐ ์ํด ํญ์ ์ต์ ์ปดํ์ผ๋ฌ ๊ตฌ์ฑ์ ์ฌ์ฉํ์ญ์์ค.
### ๊ฒฐ๋ก
ํจ๊ณผ์ ์ธ ์ปดํ์ผ๋ฌ ๊ตฌ์ฑ์ ๋ค์ํ ํ๋ซํผ๊ณผ ๊ฐ๋ฐ ํ๊ฒฝ์์ ํจ์จ์ ์ด๊ณ ์ด์ ๊ฐ๋ฅํ๋ฉฐ ๊ฐ๋ ฅํ C ํ๋ก๊ทธ๋จ์ ์์ฑํ๋ ๋ฐ ํ์์ ์
๋๋ค.
## ํ๋์ ์ธ ์ปดํ์ผ
### ์ปดํ์ผ ์ํฌํ๋ก์ฐ
graph TD A\[์์ค ์ฝ๋\] --\> B\[์ ์ฒ๋ฆฌ๊ธฐ\] B --\> C\[์ปดํ์ผ๋ฌ\] C --\> D\[์ด์
๋ธ๋ฌ\] D --\> E\[๋ง์ปค\] E --\> F\[์คํ ํ์ผ\]
### ์ ์ฒ๋ฆฌ ๋จ๊ณ
#### ๋งคํฌ๋ก ํ์ฅ
```
#define MAX_SIZE 100
#define SQUARE(x) ((x) * (x))
int main() {
int array[MAX_SIZE];
int result = SQUARE(5);
return 0;
}
```
์ ์ฒ๋ฆฌ ๋ช
๋ น์ด:
```
gcc -E program.c > preprocessed.c
```
### ์ปดํ์ผ ๋จ๊ณ
| ๋จ๊ณ | ์ค๋ช
| ๋๊ตฌ |
|---|---|---|
| ์ ์ฒ๋ฆฌ | ๋งคํฌ๋ก ํ์ฅ, ํ์ผ ํฌํจ | cpp |
| ์ปดํ์ผ | ์ด์
๋ธ๋ฆฌ ์ฝ๋๋ก ๋ณํ | gcc |
| ์ด์
๋ธ๋ฆฌ | ๊ฐ์ฒด ์ฝ๋๋ก ๋ณํ | as |
| ๋งํน | ์คํ ํ์ผ ์์ฑ | ld |
### ๊ณ ๊ธ ์ปดํ์ผ ๊ธฐ๋ฒ
#### ๋ถ๋ฆฌ ์ปดํ์ผ
##### header.h
```
#ifndef HEADER_H
#define HEADER_H
int calculate(int a, int b);
#endif
```
##### math.c
```
#include "header.h"
int calculate(int a, int b) {
return a + b;
}
```
##### main.c
```
#include <stdio.h>
#include "header.h"
int main() {
int result = calculate(5, 3);
printf("Result: %d\n", result);
return 0;
}
```
์ปดํ์ผ ๊ณผ์ :
```
gcc -c math.c ## ๊ฐ์ฒด ํ์ผ ์์ฑ
gcc -c main.c ## ๊ฐ์ฒด ํ์ผ ์์ฑ
gcc math.o main.o -o program ## ๊ฐ์ฒด ํ์ผ ๋งํน
```
### ํ๋์ ์ธ ์ปดํ์ผ ํ๋๊ทธ
#### ์ต์ ํ ๋ฐ ๋๋ฒ๊น
```
## ์ต์ ํ ๋ฐ ๋๋ฒ๊ทธ ์ฌ๋ณผ๊ณผ ํจ๊ป ์ปดํ์ผ
gcc -O2 -g program.c -o program
## ๋ชจ๋ ๊ฒฝ๊ณ ํ์ฑํ
gcc -Wall -Wextra -Werror program.c -o program
```
### ์ ์ ๋ฐ ๋์ ๋งํน
graph TD A\[์ ์ ๋งํน\] --\> B\[์ ์ฒด ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ณต์ฌ\] A --\> C\[๋ ํฐ ์คํ ํ์ผ\] D\[๋์ ๋งํน\] --\> E\[๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ฐธ์กฐ\] D --\> F\[๋ ์์ ์คํ ํ์ผ\]
#### ์ ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์ฑ
```
## ์ ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์ฑ
gcc -c library.c
ar rcs libmylib.a library.o
## ์ ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ก ๋งํน
gcc main.c -L. -lmylib -o program
```
#### ๋์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์ฑ
```
## ๊ณต์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์ฑ
gcc -shared -fPIC library.c -o libmylib.so
## ๊ณต์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ก ๋งํน
gcc main.c -L. -lmylib -o program
```
### ํฌ๋ก์ค ์ปดํ์ผ
```
## ARM์ฉ ํฌ๋ก์ค ์ปดํ์ผ
arm-linux-gnueabihf-gcc program.c -o program_arm
```
### LabEx ์ต์ ์ฌ๋ก
1. ํ๋์ ์ธ ์ปดํ์ผ๋ฌ ํ์ค ์ฌ์ฉ
2. ํฌ๊ด์ ์ธ ๊ฒฝ๊ณ ํ์ฑํ
3. ์ต์ ํ ํ๋๊ทธ ํ์ฉ
4. ๋ถ๋ฆฌ ์ปดํ์ผ ๊ตฌํ
5. ๋งํน ๋ฉ์ปค๋์ฆ ์ดํด
### ๊ฒฐ๋ก
ํ๋์ ์ธ ์ปดํ์ผ ๊ธฐ๋ฒ์ ๊ฐ๋ฐ์๊ฐ ๋ค์ํ ํ๋ซํผ ๋ฐ ํ๊ฒฝ์์ ํจ์จ์ ์ด๊ณ ์ด์ ๊ฐ๋ฅํ๋ฉฐ ๊ฐ๋ ฅํ C ํ๋ก๊ทธ๋จ์ ์์ฑํ ์ ์๋๋ก ๊ฐ๋ ฅํ ๋๊ตฌ๋ฅผ ์ ๊ณตํฉ๋๋ค.
## ์์ฝ
ํ๋์ ์ธ C ํ์ค๊ณผ ์ปดํ์ผ ๊ธฐ๋ฒ์ ์๋ฌํ๋ ๊ฒ์ ํ๋ ์ํํธ์จ์ด ๊ฐ๋ฐ์ ํ์์ ์
๋๋ค. ์ต์ ์ปดํ์ผ๋ฌ ๊ตฌ์ฑ์ ์ฑํํ๊ณ ํ์ค์ ์งํ๋ฅผ ์ดํดํจ์ผ๋ก์จ ๊ฐ๋ฐ์๋ ํ์ฌ ์
๊ณ์ ์ต๊ณ ์ค๋ฌด ๋ฐ ๊ธฐ์ ์๊ตฌ ์ฌํญ์ ์ถฉ์กฑํ๋ ๋ ํจ์จ์ ์ด๊ณ , ์ด์ ๊ฐ๋ฅํ๋ฉฐ, ๊ฐ๋ ฅํ C ์ฝ๋๋ฅผ ์์ฑํ ์ ์์ต๋๋ค.
๊ณต์
์ฃผ์
[Linux](https://labex.io/ko/tutorials/category/linux)[DevOps](https://labex.io/ko/tutorials/category/devops)[์ฌ์ด๋ฒ ๋ณด์](https://labex.io/ko/tutorials/category/cybersecurity)[Kali Linux](https://labex.io/ko/tutorials/category/kali)[๋ฐ์ดํฐ๋ฒ ์ด์ค](https://labex.io/ko/tutorials/category/database)[๋ฐ์ดํฐ ๊ณผํ](https://labex.io/ko/tutorials/category/datascience)[Red Hat Enterprise Linux](https://labex.io/ko/tutorials/category/rhel)[CompTIA](https://labex.io/ko/tutorials/category/comptia)[Docker](https://labex.io/ko/tutorials/category/docker)[Kubernetes](https://labex.io/ko/tutorials/category/kubernetes)[Python](https://labex.io/ko/tutorials/category/python)[Git](https://labex.io/ko/tutorials/category/git)[Shell](https://labex.io/ko/tutorials/category/shell)[Nmap](https://labex.io/ko/tutorials/category/nmap)[Wireshark](https://labex.io/ko/tutorials/category/wireshark)[Hydra](https://labex.io/ko/tutorials/category/hydra)[Java](https://labex.io/ko/tutorials/category/java)[SQLite](https://labex.io/ko/tutorials/category/sqlite)[PostgreSQL](https://labex.io/ko/tutorials/category/postgresql)[MySQL](https://labex.io/ko/tutorials/category/mysql)[Redis](https://labex.io/ko/tutorials/category/redis)[MongoDB](https://labex.io/ko/tutorials/category/mongodb)[Golang](https://labex.io/ko/tutorials/category/go)[C++](https://labex.io/ko/tutorials/category/cpp)[Jenkins](https://labex.io/ko/tutorials/category/jenkins)[Ansible](https://labex.io/ko/tutorials/category/ansible)[Pandas](https://labex.io/ko/tutorials/category/pandas)[NumPy](https://labex.io/ko/tutorials/category/numpy)[scikit-learn](https://labex.io/ko/tutorials/category/sklearn)[Matplotlib](https://labex.io/ko/tutorials/category/matplotlib)[์น ๊ฐ๋ฐ](https://labex.io/ko/tutorials/category/webdev)[Alibaba Cloud](https://labex.io/ko/tutorials/category/alibaba)[HTML](https://labex.io/ko/tutorials/category/html)[CSS](https://labex.io/ko/tutorials/category/css)[JavaScript](https://labex.io/ko/tutorials/category/javascript)[React](https://labex.io/ko/tutorials/category/react)
๊ด๋ จ [C ์ฝ์ค](https://labex.io/learn/c)
[ ์ด๋ณด์๋ฅผ ์ํ C ํ๋ก๊ทธ๋๋ฐ C ์ด๊ธ](https://labex.io/ko/courses/c-programming-for-beginners)
[ C ์ธ์ด๋ก ํ๋ํผ ๋ฒ๋ ๋ง๋ค๊ธฐ ShellC ์ด๊ธ](https://labex.io/ko/courses/project-building-flappy-bird-using-c)
[ C ์ธ์ด๋ฅผ ์ฌ์ฉํ ๊ฐ๋จํ ๊ณ์ฐ๊ธฐ ๋ง๋ค๊ธฐ C ์ด๊ธ](https://labex.io/ko/courses/project-making-a-simple-calculator-using-c)
[](https://labex.io/ko)
๐ฐ๐ท ํ๊ตญ์ด
์ค์ต ๋ฉ์ผ๋ก Linux, DevOps ๋ฐ ์ฌ์ด๋ฒ ๋ณด์์ ๋ฐฐ์ฐ์ธ์ ์ค์ต ๋ฉ
์ค์ต ๊ณผ์
[๋ฆฌ๋
์ค ํ์ต](https://labex.io/ko/learn/linux)
[ํ์ด์ฌ ํ์ต](https://labex.io/ko/learn/python)
[์ฌ์ด๋ฒ ๋ณด์ ํ์ต](https://labex.io/ko/learn/cybersecurity)
[๋์ปค ํ์ต](https://labex.io/ko/learn/docker)
[CompTIA ํ์ต](https://labex.io/ko/learn/comptia)
[์๋ฐ ํ์ต](https://labex.io/ko/learn/java)
[๋ฐ์ดํฐ ๊ณผํ ํ์ต](https://labex.io/ko/learn/data-science)
[Git ํ์ต](https://labex.io/ko/learn/git)
[์ฟ ๋ฒ๋คํฐ์ค ํ์ต](https://labex.io/ko/learn/kubernetes)
[์นผ๋ฆฌ ๋ฆฌ๋
์ค ํ์ต](https://labex.io/ko/learn/kali)
[์ค์๋ธ ํ์ต](https://labex.io/ko/learn/ansible)
[๋ฐ๋ธ์ต์ค ํ์ต](https://labex.io/ko/learn/devops)
[๋จธ์ ๋ฌ๋ ํ์ต](https://labex.io/ko/learn/ml)
[RHCSA ์ค์ ์ํ](https://labex.io/ko/courses/rhcsa-certification-exam-practice-exercises)
[CompTIA ๋ฆฌ๋
์ค+](https://labex.io/ko/courses/comptia-linux-plus-training-labs)
[ํ์ด์ฌ ์ฐ์ต ๋ฌธ์ ](https://labex.io/ko/exercises/python)
[๋ฆฌ๋
์ค ๋ช
๋ น์ด ์์ฝํ](https://linux-commands.labex.io/)
์ค์ต ๋ฉ
[๋ฆฌ๋
์ค ํ๋ก์ ํธ](https://labex.io/ko/projects/category/linux)
[ํ์ด์ฌ ํ๋ก์ ํธ](https://labex.io/ko/projects/category/python)
[์๋ฐ ํ๋ก์ ํธ](https://labex.io/ko/projects/category/java)
[C ์ธ์ด ํ๋ก์ ํธ](https://labex.io/ko/projects/category/c)
[๋ฐ๋ธ์ต์ค ํ๋ก์ ํธ](https://labex.io/ko/projects/category/devops)
[Go ์ธ์ด ํ๋ก์ ํธ](https://labex.io/ko/projects/category/go)
[Git ์ค์ต](https://labex.io/ko/free-labs/git)
[์
ธ ์ค์ต](https://labex.io/ko/free-labs/shell)
[์๋ฐ ์ค์ต](https://labex.io/ko/free-labs/java)
[๋์ปค ์ค์ต](https://labex.io/ko/free-labs/docker)
[MySQL ์ค์ต](https://labex.io/ko/free-labs/mysql)
[MongoDB ์ค์ต](https://labex.io/ko/free-labs/mongodb)
[์ฟ ๋ฒ๋คํฐ์ค ์ค์ต](https://labex.io/ko/free-labs/kubernetes)
[๋จธ์ ๋ฌ๋ ์ค์ต](https://labex.io/ko/free-labs/ml)
[์ฌ์ด๋ฒ ๋ณด์ ์ค์ต](https://labex.io/ko/free-labs/cybersecurity)
[Nmap ์ค์ต](https://labex.io/ko/free-labs/nmap)
[Wireshark ์ค์ต](https://labex.io/ko/free-labs/wireshark)
๋์ดํฐ
[์จ๋ผ์ธ ๋ฆฌ๋
์ค ํฐ๋ฏธ๋](https://labex.io/ko/tutorials/linux-online-linux-terminal-and-playground-372915)
[๋์ปค ํ๋ ์ด๊ทธ๋ผ์ด๋](https://labex.io/ko/tutorials/docker-online-docker-playground-372912)
[ํ์ด์ฌ ํ๋ ์ด๊ทธ๋ผ์ด๋](https://labex.io/ko/tutorials/python-online-python-playground-372886)
[Go ํ๋ ์ด๊ทธ๋ผ์ด๋](https://labex.io/ko/tutorials/go-online-golang-playground-372913)
[C++ ์จ๋ผ์ธ ์ปดํ์ผ๋ฌ](https://labex.io/ko/tutorials/cpp-online-c-playground-372911)
[์ค์๋ธ ํ๋ ์ด๊ทธ๋ผ์ด๋](https://labex.io/ko/tutorials/ansible-online-ansible-playground-415831)
[์ ํจ์ค ํ๋ ์ด๊ทธ๋ผ์ด๋](https://labex.io/ko/tutorials/jenkins-online-jenkins-playground-415838)
[์ฟ ๋ฒ๋คํฐ์ค ํ๋ ์ด๊ทธ๋ผ์ด๋](https://labex.io/ko/tutorials/kubernetes-online-kubernetes-cluster-593609)
[์๋ฐ ํ๋ ์ด๊ทธ๋ผ์ด๋](https://labex.io/ko/tutorials/java-online-java-playground-372914)
[๋ฌ์คํธ ํ๋ ์ด๊ทธ๋ผ์ด๋](https://labex.io/ko/tutorials/rust-online-rust-playground-372918)
[์นผ๋ฆฌ ๋ฆฌ๋
์ค ์จ๋ผ์ธ](https://labex.io/ko/tutorials/kali-online-kali-linux-terminal-and-playground-592935)
[Nmap ์จ๋ผ์ธ](https://labex.io/ko/tutorials/nmap-online-nmap-playground-593613)
[์์ด์ด์คํฌ ์จ๋ผ์ธ](https://labex.io/ko/tutorials/wireshark-online-wireshark-playground-593624)
[MySQL ์จ๋ผ์ธ](https://labex.io/ko/tutorials/mysql-online-mysql-playground-372916)
[PostgreSQL ์จ๋ผ์ธ](https://labex.io/ko/tutorials/kali-online-postgresql-database-playground-593616)
[RHCSA ์ํ ์๋ฎฌ๋ ์ดํฐ](https://labex.io/ko/tutorials/rhel-online-rhel-terminal-rhcsa-and-rhce-exam-playground-592933)
[์จ๋ผ์ธ ๊ฐ์ ๋จธ์ ](https://labex.io/ko/tutorials/linux-online-virtual-machines-and-playgrounds-593595)
ํํ ๋ฆฌ์ผ
[Linux ํํ ๋ฆฌ์ผ](https://labex.io/ko/tutorials/category/linux)
[Docker ํํ ๋ฆฌ์ผ](https://labex.io/ko/tutorials/category/docker)
[Kubernetes ํํ ๋ฆฌ์ผ](https://labex.io/ko/tutorials/category/kubernetes)
[MongoDB ํํ ๋ฆฌ์ผ](https://labex.io/ko/tutorials/category/mongodb)
[PostgreSQL ํํ ๋ฆฌ์ผ](https://labex.io/ko/tutorials/category/postgresql)
[Wireshark ํํ ๋ฆฌ์ผ](https://labex.io/ko/tutorials/category/wireshark)
[DevOps ํํ ๋ฆฌ์ผ](https://labex.io/ko/tutorials/category/devops)
[์ฌ์ด๋ฒ ๋ณด์ ํํ ๋ฆฌ์ผ](https://labex.io/ko/tutorials/category/cybersecurity)
[Java ๋ฉด์ ์ง๋ฌธ](https://labex.io/ko/tutorials/java-java-interview-questions-and-answers-593685)
[Python ๋ฉด์ ์ง๋ฌธ](https://labex.io/ko/tutorials/python-python-interview-questions-and-answers-593698)
[Kubernetes ๋ฉด์ ์ง๋ฌธ](https://labex.io/ko/tutorials/kubernetes-kubernetes-interview-questions-and-answers-593688)
[DevOps ๋ฉด์ ์ง๋ฌธ](https://labex.io/ko/tutorials/linux-devops-interview-questions-and-answers-593679)
[์ฌ์ด๋ฒ ๋ณด์ ๋ฉด์ ์ง๋ฌธ](https://labex.io/ko/tutorials/cybersecurity-cybersecurity-interview-questions-and-answers-593676)
[Docker ๋ฉด์ ์ง๋ฌธ](https://labex.io/ko/tutorials/docker-docker-interview-questions-and-answers-593680)
[Linux ๋ฉด์ ์ง๋ฌธ](https://labex.io/ko/tutorials/linux-linux-interview-questions-and-answers-593689)
[MongoDB ๋ฉด์ ์ง๋ฌธ](https://labex.io/ko/tutorials/mongodb-mongodb-interview-questions-and-answers-593692)
[๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ฉด์ ์ง๋ฌธ](https://labex.io/ko/tutorials/linux-database-interview-questions-and-answers-593677)
[์ง์](https://support.labex.io/)\|[๋ฌธ์ํ๊ธฐ](mailto:info@labex.io)\|[ํฌ๋ผ](https://labex.io/ko/forum)\|[ํํ ๋ฆฌ์ผ](https://labex.io/ko/tutorials)\|[๋ฌด๋ฃ ์ค์ต](https://labex.io/ko/free-labs)\|[LINUX JOURNEY](https://labex.io/ko/linuxjourney)\|[์ฐ์ต](https://labex.io/ko/exercises)\|[LABEX TEAMS](https://labex.io/ko/teams)\|[์ ํด](https://labex.io/ko/questions/labex-affiliate-program-a6jov663)\|[์ฌ์ดํธ๋งต](https://sitemap.labex.io/)\|[๊ฐ์ธ์ ๋ณด์ฒ๋ฆฌ๋ฐฉ์นจ](https://labex.io/ko/privacy)\|[์๋น์ค ์ด์ฉ์ฝ๊ด](https://labex.io/ko/terms)
ยฉ 2017-2026 LabEx Technology Limited All Rights Reserved |
| Readable Markdown | null |
| Shard | 28 (laksa) |
| Root Hash | 1963243295958744828 |
| Unparsed URL | io,labex!/ko/tutorials/c-how-to-compile-with-modern-c-standards-466271 s443 |