_makepath 和 _splitpath 都是分析路徑的函數
一個path 分爲drive, dir, fname, ext 四部分
_makepath 將四個部分組裝成一個path
_splitpath將一個完整的path分成四部分
void _makepath( char *path, const char *drive, const char *dir, const char *fname, const char *ext );
void _splitpath( const char *path, char *drive, char *dir, char *fname, char *ext );
eg: c:/test/helloworld/makepath.cpp
drive: c
dir: /test/helloworld/
fname: makepath
ext: .cpp
另:_makepath_s _splitpath_s 分別爲兩個函數的安全形式