Extracts the path from a full path file name string.
string GetFilePath( LPCSTR lpcszFullPathFileName )
A string containing only the path portion, including the last '\' character.
If no path is present then the returned string is empty.
EX1
void GetFilePath_ex1() { string str = "c:\\c\\test.dat"; string strFilePath = GetFilePath(str); out_str(strFilePath); }
origin.h