NJUPT-Compile/1/Utils.cpp
2024-06-15 21:40:42 +08:00

6 lines
123 B
C++

#include "Utils.h"
bool Utils::file_exists(const char *filename) {
ifstream file(filename);
return file.good();
}