Add way to extract numbers from the csv file

This commit is contained in:
2025-03-17 13:47:58 +01:00
parent fd03f5561f
commit 842e015c14
8 changed files with 103 additions and 6 deletions
+16
View File
@@ -0,0 +1,16 @@
#include "../Include/FileHelper.h"
#include <sys/stat.h>
FileHelper::FileHelper() {};
FileHelper::~FileHelper() {};
bool FileHelper::FileExists(char *path){
struct stat s;
// Check if file exists, and if it isn't a folder.
if (stat(path, &s) == 0 && !(s.st_mode & S_IFDIR)){
return true;
}
return false;
}