int fileexist(const char* path){ return GetFileAttributesA(path) != INVALID_FILE_ATTRIBUTES || GetLastError() != ERROR_FILE_NOT_FOUND;}
posted on 2008-06-04 22:41 肥仔 閱讀(548) 評論(0) 編輯 收藏 引用 所屬分類: Windows開發
Powered by: C++博客 Copyright © 肥仔