7 lines
123 B
C++
7 lines
123 B
C++
|
#include "Utils.h"
|
||
|
|
||
|
bool Utils::file_exists(const char *filename) {
|
||
|
ifstream file(filename);
|
||
|
return file.good();
|
||
|
}
|