#include <fstream>
#incude <iostream>
bool bFileExist = false;
std::fstream _file;
_file.open(strFilePath, std::ios::in);
if (_file)bFileExist = true;
_file.close();
时间: 2024-10-30 21:01:28
#include <fstream>
#incude <iostream>
bool bFileExist = false;
std::fstream _file;
_file.open(strFilePath, std::ios::in);
if (_file)bFileExist = true;
_file.close();