♥ ♥ ♥ 如果這頁訊息對您有幫助 請幫我點上方廣告↑ ↑ ↑ 感謝您的幫助 ♥ ♥ ♥
FILE* fp = fopen(path, "r");
if (fp) {
// file exists
fclose(fp);
} else {
// file doesn't exist
}
♥ ♥ ♥ 如果這頁訊息對您有幫助 請幫我點上方廣告↑ ↑ ↑ 感謝您的幫助 ♥ ♥ ♥
FILE* fp = fopen(path, "r");
if (fp) {
// file exists
fclose(fp);
} else {
// file doesn't exist
}