Include: 두 판 사이의 차이

(새 문서: include는 c언어 프로그래밍에서 기본적으로 내장되어있는 폴더이자 전처리문으로 가장 많이 쓰이며, stdio.h, math.h, string.h를 많이 쓴다. c언...)
 
편집 요약 없음
6번째 줄: 6번째 줄:
       printf("hello world\n");
       printf("hello world\n");
       return 0;
       return 0;
}
}


== 같이 보기 ==
== 같이 보기 ==

2021년 4월 5일 (월) 18:08 판

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

예제

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

같이 보기