헤더파일에 관해 질문드릴 것이 있습니다.

sleepzzz214 Reply 3 years 44 weeks ago
만약 제가 hello.c를 만들었는데 그 안에 #include <stdio.h>를 넣는 대신, #include "hello.h"를 하고 hello.h 헤더파일에 #include <stdio.h>를 쓰면 코드가 정상적으로 작동하나요??
withcs2 Reply 3 years 44 weeks ago
#include "hello.h"는 그 자리에 hello.h 내용 그대로 복사해서 붙여넣은 것과 같아요 제대로 작동합니다