Include

Martin Urbanec (토론 | 기여)님의 2021년 4월 5일 (월) 18:10 판 (→‎예제)

include는 c언어 프로그래밍에서 기본적으로 내장되어있는 폴더이자 전처리문으로 가장 많이 쓰이며, stdio.h, math.h, string.h를 많이 쓴다. c언어 프로그래밍에서 첫 번째로 배우는 hello world 예제에서 나타나므로 가장 먼저 배우는 전처리문이다.

예제

#include <stdio.h>
int main() {
    printf("hello world\n");
    return 0;
}

같이 보기