헤더에 대한 "../include/header.h"와 같은 상대 경로의 이점은 무엇입니까? include 지시문을 올바르게 사용하는 방법 과 C++ #include 의미 체계 를 사용하는 방법에 대한 질문을 검토했으며 이 문제 를 해결하지도 않고 제목을 입력할 때 SO에서 제안한 다른 항목도 검토하지 않았습니다... 작성하면 어떤 이점이 있습니까? #include "../include/someheader.h" #include "../otherdir/another.h" 일반 파일 이름을 사용하는 것과 비교: #include "someheader.h" #include "another.h" 또는 ' ..'가 없는 상대 이름 : #include "include/someheader.h" #include "othe..