파일 경로 분리

_splitpath(path,NULL,NULL,fname,ext); // path에서 파일 이름, 확장자 분리

buf.append(fname); 

buf.append(ext);

'c/c++' 카테고리의 다른 글

디버그 창에 출력하기  (0) 2012.11.16
ofstream 파일 이어쓰기  (0) 2012.11.02
한글 깨짐  (0) 2012.10.31
C++ 파일 크기 구하기  (0) 2012.09.24
MMF(memory mapping file)  (0) 2012.08.16