嚴以律己,寬以待人. 三思而后行. GMail/GTalk: yanglinbo#google.com; MSN/Email: tx7do#yahoo.com.cn; QQ: 3 0 3 3 9 6 9 2 0 .
posted on 2007-11-07 11:08 楊粼波 閱讀(3267) 評論(2) 編輯 收藏 引用
那么判斷目錄是否存在呢? 回復 更多評論
bool directoryExist( const std::string& strPath ) { return ::PathIsDirectory(strPath.c_str()) ? true : false; } 在Windows下面可以這么做。 回復 更多評論
Powered by: C++博客 Copyright © 楊粼波