摘要:
std::string getFileDir(const char* pFilePath){ assert(pFilePath); std::string strDir = pFilePath std::string::size_type begin = 0; std::string::size_type end = 0; end = strDir.find_last_of("/"); if(end != std::string::npos) { // end+1 : 包括最后一个“/” strDir =... 阅读全文
posted @ 2012-03-31 15:56
甲骨魚
阅读(183)
评论(0)
推荐(0)

浙公网安备 33010602011771号