절대 패스 <-> 상대 패스 상호 변환
https://likle.github.io/cwalk/https://github.com/likle/cwalk C/C++용으로 아주 괜찮은 절대 패스 상대 패스 상호 변환 라이브러리.. cwalk..윈도우즈/리눅스 스타일도 지원.. 아래와 같이 간단한 래퍼 함수를 만들어봄..#include // FILENAME_MAX #include std::string Rel2AbsPath(const std::string& base, const std::string& relative, bool unix_style) { if(unix_style) cwk_path_set_style(CWK_STYLE_UNIX); else cwk_path_set_style(CWK_STYLE_WINDOWS); char buffer[FIL..